| 1 | <?php |
||
| 18 | class Customer extends AbstractTarget implements CustomerInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var integer |
||
| 22 | */ |
||
| 23 | protected $id; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $login; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var CustomerInterface |
||
| 32 | */ |
||
| 33 | protected $seller; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var Client[] |
||
| 37 | */ |
||
| 38 | protected $sellers = []; |
||
| 39 | |||
| 40 | public function __construct($id, $login, $seller = null) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * {@inheritdoc} |
||
| 49 | */ |
||
| 50 | public function getLogin() |
||
| 54 | |||
| 55 | public function jsonSerialize() |
||
| 59 | } |
||
| 60 |