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

ファイルを表示 Open project: ezsystems/ezpublish-kernel Interface Usage Examples

Public Methods

Method 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 method

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
return array | null The matched configuration as a hash, containing template or controller to use, or null if not matched.