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 | public function __construct(Schema $schema, $name) |
||
24 | |||
25 | public function getName() |
||
29 | |||
30 | public function setName($name) |
||
35 | /** |
||
36 | * |
||
37 | * @return Type |
||
38 | */ |
||
39 | public function getType() |
||
43 | |||
44 | public function setType(Type $type) |
||
49 | |||
50 | public function getDoc() |
||
54 | |||
55 | public function setDoc($doc) |
||
60 | |||
61 | public function getSchema() |
||
65 | } |
||
66 |