D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
mapharma.online
/
app
/
Library
/
Filename :
Receiver.php
back
Copy
<?php namespace App\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(), ]; } }