eZPublishCommunityProject  2013.6
eZ\Publish\Core\MVC\Symfony\View\Provider\ViewProviderInterface Interface Reference

Main interface for view providers. More...

+ Inheritance diagram for eZ\Publish\Core\MVC\Symfony\View\Provider\ViewProviderInterface:

Public Member Functions

 match (ViewProviderMatcher $matcher, ValueObject $valueObject)
 Checks if $valueObject matches the $matcher's rules. More...
 

Detailed Description

Main interface for view providers.

Member Function Documentation

eZ\Publish\Core\MVC\Symfony\View\Provider\ViewProviderInterface::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

Implemented in eZ\Publish\Core\MVC\Legacy\View\Provider\Location, eZ\Publish\Core\MVC\Legacy\View\Provider\Content, eZ\Publish\Core\MVC\Legacy\View\Provider\Block, eZ\Publish\Core\MVC\Symfony\View\Provider\Block\Configured, eZ\Publish\Core\MVC\Symfony\View\Provider\Location\Configured, and eZ\Publish\Core\MVC\Symfony\View\Provider\Content\Configured.


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