Files
kulakpos_web/public/restaurant/Modules/Gateways/Library/Receiver.php

35 lines
531 B
PHP
Raw Normal View History

2026-03-15 17:08:23 +07:00
<?php
namespace Modules\Gateways\Library;
class Receiver
{
private $name;
private $image;
public function __construct($name, $image)
{
$this->name = $name;
$this->image = $image;
}
public function getName()
{
return $this->name;
}
public function getImage()
{
return $this->image;
}
public function information(): array
{
return [
'name' => $this->getName(),
'image' => $this->getImage(),
];
}
}