1 | <?php |
||
40 | class Path extends AbstractBeanAnnotation |
||
41 | { |
||
42 | |||
43 | /** |
||
44 | * The annotation to define a servlets routing. |
||
45 | * |
||
46 | * @var string |
||
47 | */ |
||
48 | const ANNOTATION = 'Path'; |
||
49 | |||
50 | /** |
||
51 | * The array with the action results. |
||
52 | * |
||
53 | * @var array<AppserverIo\Routlt\Annotations\Result> |
||
54 | */ |
||
55 | protected $results = array(); |
||
56 | |||
57 | /** |
||
58 | * This method returns the class name as |
||
59 | * a string. |
||
60 | * |
||
61 | * @return string |
||
62 | */ |
||
63 | public static function __getClass() |
||
67 | |||
68 | /** |
||
69 | * The constructor the initializes the instance with the |
||
70 | * data passed with the token. |
||
71 | * |
||
72 | * @param array $values The annotation values |
||
73 | */ |
||
74 | 5 | public function __construct(array $values = array()) |
|
85 | |||
86 | /** |
||
87 | * Returns the array with the inner result annotations. |
||
88 | * |
||
89 | * @return array<AppserverIo\Routlt\Annotations\Result> The inner result annotations |
||
90 | */ |
||
91 | 4 | public function getResults() |
|
95 | } |
||
96 |