1 | <?php |
||
24 | class ManganelMeta extends Meta |
||
25 | { |
||
26 | |||
27 | /** |
||
28 | * Create instance of Metadata specifically designed for Manganel |
||
29 | * @param string|object|AnnotatedInterface $model |
||
30 | * @param MetaOptions $options |
||
31 | * @return ManganelMeta |
||
32 | */ |
||
33 | 59 | public static function create($model, MetaOptions $options = null) |
|
41 | |||
42 | /** |
||
43 | * Get field by name |
||
44 | * @param string $name |
||
45 | * @return DocumentPropertyMeta |
||
46 | */ |
||
47 | 54 | public function field($name) |
|
51 | |||
52 | /** |
||
53 | * Get document type meta |
||
54 | * @return DocumentTypeMeta |
||
55 | */ |
||
56 | 58 | public function type() |
|
60 | |||
61 | /** |
||
62 | * Get method meta data |
||
63 | * @param type $name |
||
64 | * @return DocumentMethodMeta |
||
65 | */ |
||
66 | public function method($name) |
||
70 | |||
71 | } |
||
72 |