eZPublishCommunityProject  2013.4
eZ\Bundle\EzPublishCoreBundle\View\Provider\Location\Configured Class Reference
+ Inheritance diagram for eZ\Bundle\EzPublishCoreBundle\View\Provider\Location\Configured:
+ Collaboration diagram for eZ\Bundle\EzPublishCoreBundle\View\Provider\Location\Configured:

Public Member Functions

 __construct (ConfigResolverInterface $configResolver, Repository $repository, ContainerInterface $container)
 Constructor. More...
 
- Public Member Functions inherited from eZ\Publish\Core\MVC\Symfony\View\Provider\Location\Configured
 getView (Location $location, $viewType)
 Returns a ContentView object corresponding to $location, or null if not applicable. More...
 
 match (ViewProviderMatcher $matcher, ValueObject $valueObject)
 Checks if $valueObject matches the $matcher's rules.
Parameters
\eZ\Publish\Core\MVC\Symfony\View\ViewProviderMatcher$matcher
\eZ\Publish\API\Repository\Values\ValueObject$valueObject
Exceptions
\InvalidArgumentExceptionIf $valueObject is not of expected sub-type.
Returns
bool
More...
 
- Public Member Functions inherited from eZ\Publish\Core\MVC\Symfony\View\Provider\Configured
 __construct (Repository $repository, array $matchConfig)
 
- Public Member Functions inherited from eZ\Publish\Core\MVC\Symfony\View\Provider\Location
 getView (APIContentLocation $location, $viewType)
 Returns a ContentView object corresponding to $location, or null if not applicable. More...
 

Protected Member Functions

 getMatcher ($matcherIdentifier)
 Returns the matcher object either from a service identifier or from a class. More...
 
- Protected Member Functions inherited from eZ\Publish\Core\MVC\Symfony\View\Provider\ContentBasedConfigured
 getMatcher ($matcherIdentifier)
 Returns the matcher object. More...
 
- Protected Member Functions inherited from eZ\Publish\Core\MVC\Symfony\View\Provider\Configured
 getMatcher ($matcherIdentifier)
 Returns the matcher object. More...
 

Private Attributes

 $container
 

Additional Inherited Members

- Public Attributes inherited from eZ\Publish\Core\MVC\Symfony\View\Provider\ContentBasedConfigured
const MATCHER_RELATIVE_NAMESPACE = 'eZ\\Publish\\Core\\MVC\\Symfony\\View\\ContentViewProvider\\Configured\\Matcher'
 
- Protected Attributes inherited from eZ\Publish\Core\MVC\Symfony\View\Provider\Configured
 $matchConfig
 
 $matchers
 
 $repository
 

Constructor & Destructor Documentation

eZ\Bundle\EzPublishCoreBundle\View\Provider\Location\Configured::__construct ( ConfigResolverInterface  $configResolver,
Repository  $repository,
ContainerInterface  $container 
)

Constructor.

Will get the matching configuration from the service container dynamically, with the siteaccess name.

Parameters
\eZ\Publish\Core\MVC\ConfigResolverInterface$configResolver
\eZ\Publish\API\Repository\Repository$repository
\Symfony\Component\DependencyInjection\ContainerInterface$container

Member Function Documentation

eZ\Bundle\EzPublishCoreBundle\View\Provider\Location\Configured::getMatcher (   $matcherIdentifier)
protected

Returns the matcher object either from a service identifier or from a class.

Parameters
string$matcherIdentifierIf it is a service identifier, the matcher will be built with the service container.
Returns

Member Data Documentation

eZ\Bundle\EzPublishCoreBundle\View\Provider\Location\Configured::$container
private

The documentation for this class was generated from the following file: