protected property ContentAwareGenerator::$contentRepository in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony-cmf/routing/ContentAwareGenerator.php \Symfony\Cmf\Component\Routing\ContentAwareGenerator::contentRepository
The content repository used to find content by it's id This can be used to specify a parameter content_id when generating urls
This is optional and might not be initialized.
Type: ContentRepositoryInterface
File
- vendor/
symfony-cmf/ routing/ ContentAwareGenerator.php, line 45
Class
- ContentAwareGenerator
- A generator that tries to generate routes from object, route names or content objects or names.
Namespace
Symfony\Cmf\Component\RoutingCode
protected $contentRepository;