1 | <?php |
||
32 | class Inject extends AbstractBeanAnnotation |
||
33 | { |
||
34 | |||
35 | /** |
||
36 | * The annotation for a default timeout method. |
||
37 | * |
||
38 | * @var string |
||
39 | */ |
||
40 | const ANNOTATION = 'Inject'; |
||
41 | |||
42 | /** |
||
43 | * This method returns the class name as |
||
44 | * a string. |
||
45 | * |
||
46 | * @return string |
||
47 | */ |
||
48 | public static function __getClass() |
||
52 | |||
53 | /** |
||
54 | * Returns the value of the bean name attribute. |
||
55 | * |
||
56 | * @return string|null The annotations bean Name attribute |
||
57 | */ |
||
58 | public function getBeanName() |
||
59 | { |
||
60 | if (isset($this->values[AnnotationKeys::BEAN_NAME])) { |
||
61 | return $this->values[AnnotationKeys::BEAN_NAME]; |
||
62 | } |
||
63 | } |
||
64 | |||
65 | /** |
||
66 | * Returns the value of the type attribute. |
||
67 | * |
||
68 | * @return string The annotations type attribute |
||
69 | */ |
||
70 | public function getType() |
||
76 | |||
77 | /** |
||
78 | * Returns the value of the factory attribute. |
||
79 | * |
||
80 | * @return string The annotations factory attribute |
||
81 | */ |
||
82 | public function getFactory() |
||
88 | |||
89 | /** |
||
90 | * Returns the value of the factory type attribute. |
||
91 | * |
||
92 | * @return string The annotations factory type attribute |
||
93 | */ |
||
94 | public function getFactoryType() |
||
100 | |||
101 | /** |
||
102 | * Returns the value of the factory method attribute. |
||
103 | * |
||
104 | * @return string The annotations factory method attribute |
||
105 | */ |
||
106 | public function getFactoryMethod() |
||
112 | } |
||
113 |