| 1 | <?php |
||
| 5 | class ResourceCreatedResult |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var mixed |
||
| 9 | */ |
||
| 10 | private $resource; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var array |
||
| 14 | */ |
||
| 15 | private $metadata; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param mixed $resource |
||
| 19 | * @param array $metadata |
||
| 20 | */ |
||
| 21 | 6 | public function __construct($resource, array $metadata = array()) |
|
| 26 | |||
| 27 | /** |
||
| 28 | * @return mixed |
||
| 29 | */ |
||
| 30 | 4 | public function getResource() |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @return array |
||
| 37 | */ |
||
| 38 | 4 | public function getMetadata() |
|
| 42 | } |
||
| 43 |