You are here

protected property ContentAwareGenerator::$contentRepository in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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\Routing

Code

protected $contentRepository;