| 1 | <?php |
||
| 8 | abstract class Item implements SchemaItem |
||
| 9 | { |
||
| 10 | |||
| 11 | protected $doc; |
||
| 12 | |||
| 13 | protected $schema; |
||
| 14 | |||
| 15 | protected $name; |
||
| 16 | |||
| 17 | protected $type; |
||
| 18 | |||
| 19 | 39 | public function __construct(Schema $schema, $name) |
|
| 24 | |||
| 25 | 39 | public function getName() |
|
| 29 | |||
| 30 | public function setName($name) |
||
| 35 | /** |
||
| 36 | * |
||
| 37 | * @return Type |
||
| 38 | */ |
||
| 39 | 16 | public function getType() |
|
| 43 | |||
| 44 | 39 | public function setType(Type $type) |
|
| 49 | |||
| 50 | public function getDoc() |
||
| 54 | |||
| 55 | 39 | public function setDoc($doc) |
|
| 60 | |||
| 61 | 39 | public function getSchema() |
|
| 65 | } |
||
| 66 |