| 1 | <?php |
||
| 18 | class ContextReader |
||
| 19 | { |
||
| 20 | private $reader; |
||
| 21 | |||
| 22 | private $annotationClass = 'SWP\\Bundle\\TemplateEngineBundle\\Annotation\\Context'; |
||
| 23 | |||
| 24 | public function __construct(Reader $reader) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Read Context annotation from controller. |
||
| 31 | * |
||
| 32 | * @param object $originalObject Array with controller object and method name |
||
| 33 | * |
||
| 34 | * @return Context |
||
| 35 | */ |
||
| 36 | public function read($originalObject) |
||
| 42 | } |
||
| 43 |