PHP Interface eZ\Publish\Core\MVC\Symfony\Matcher\MatcherFactoryInterface

Afficher le fichier Open project: ezsystems/ezpublish-kernel Interface Usage Examples

Méthodes publiques

Méthode Description
match ( eZ\Publish\Core\MVC\Symfony\View\View $view ) : array | null Checks if $valueObject has a usable configuration for $viewType.

Method Details

match() public méthode

If so, the configuration hash will be returned. $valueObject can be for example a Location or a Content object.
public match ( eZ\Publish\Core\MVC\Symfony\View\View $view ) : array | null
$view eZ\Publish\Core\MVC\Symfony\View\View
Résultat array | null The matched configuration as a hash, containing template or controller to use, or null if not matched.