| 1 | <?php |
||
| 20 | class CollectionPropertyMetadata extends PropertyMetadata |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | public $typeClassName; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | public $persistenClassName; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | public $of; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * CollectionPropertyMetadata constructor. |
||
| 39 | * |
||
| 40 | * @param string $class |
||
| 41 | * @param string $name |
||
| 42 | */ |
||
| 43 | public function __construct($class, $name) |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @param string $type |
||
| 50 | */ |
||
| 51 | public function setType($type) |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @param string $of |
||
| 68 | */ |
||
| 69 | public function setOf($of) |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @return array |
||
| 76 | */ |
||
| 77 | public function toArray() |
||
| 86 | } |
||
| 87 |