| 1 | <?php |
||
| 7 | class StoreItem extends AbstractBaseItem |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | public $storeId; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Public store name |
||
| 16 | * |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | public $name; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Public store URL |
||
| 23 | * |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | public $url; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Optional Api key. Is available only after store creation call, otherwise empty. |
||
| 30 | * |
||
| 31 | * @var null|string |
||
| 32 | */ |
||
| 33 | public $apiKey; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param array|mixed $raw |
||
| 37 | * @return StoreItem |
||
| 38 | */ |
||
| 39 | static function fromArray($raw) |
||
| 52 | } |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.