migrate to gtea from bistbucket
This commit is contained in:
34
public/restaurant/Modules/Gateways/Library/Receiver.php
Normal file
34
public/restaurant/Modules/Gateways/Library/Receiver.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?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(),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user