| 1 | <?php |
||
| 8 | final class CustomBlockContext implements Context |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var RepositoryInterface |
||
| 12 | */ |
||
| 13 | private $repository; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param RepositoryInterface $repository |
||
| 17 | */ |
||
| 18 | public function __construct(RepositoryInterface $repository) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @Transform :customBlock |
||
| 25 | */ |
||
| 26 | public function nameToDocument($name) |
||
| 30 | } |
||
| 31 |