PHP Class eZ\Publish\Core\MVC\Symfony\Controller\Controller

Inheritance: implements Symfony\Component\DependencyInjection\ContainerAwareInterface, use trait Symfony\Component\DependencyInjection\ContainerAwareTrait
Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Méthodes publiques

Méthode Description
getConfigResolver ( ) : eZ\Publish\Core\MVC\ConfigResolverInterface
getEventDispatcher ( ) : Symfony\Component\EventDispatcher\EventDispatcherInterface
getLogger ( ) : Psr\Log\LoggerInterface | null
getParameter ( string $parameterName, mixed $defaultValue = null ) : mixed Returns value for $parameterName and fallbacks to $defaultValue if not defined.
getRepository ( ) : eZ\Publish\API\Repository\Repository
getRequest ( ) : Request
getTemplateEngine ( ) : Symfony\Component\Templating\EngineInterface
hasParameter ( string $parameterName ) : boolean Checks if $parameterName is defined.
isGranted ( Attribute $attribute ) : boolean Checks if current user has granted access to provided attribute.
render ( string $view, array $parameters = [], Response $response = null ) : Response Renders a view.

Method Details

getConfigResolver() public méthode

public getConfigResolver ( ) : eZ\Publish\Core\MVC\ConfigResolverInterface
Résultat eZ\Publish\Core\MVC\ConfigResolverInterface

getEventDispatcher() public méthode

public getEventDispatcher ( ) : Symfony\Component\EventDispatcher\EventDispatcherInterface
Résultat Symfony\Component\EventDispatcher\EventDispatcherInterface

getLogger() public méthode

public getLogger ( ) : Psr\Log\LoggerInterface | null
Résultat Psr\Log\LoggerInterface | null

getParameter() public méthode

Returns value for $parameterName and fallbacks to $defaultValue if not defined.
public getParameter ( string $parameterName, mixed $defaultValue = null ) : mixed
$parameterName string
$defaultValue mixed
Résultat mixed

getRepository() public méthode

public getRepository ( ) : eZ\Publish\API\Repository\Repository
Résultat eZ\Publish\API\Repository\Repository

getRequest() public méthode

public getRequest ( ) : Request
Résultat Symfony\Component\HttpFoundation\Request

getTemplateEngine() public méthode

public getTemplateEngine ( ) : Symfony\Component\Templating\EngineInterface
Résultat Symfony\Component\Templating\EngineInterface

hasParameter() public méthode

Checks if $parameterName is defined.
public hasParameter ( string $parameterName ) : boolean
$parameterName string
Résultat boolean

isGranted() public méthode

Checks if current user has granted access to provided attribute.
public isGranted ( Attribute $attribute ) : boolean
$attribute eZ\Publish\Core\MVC\Symfony\Security\Authorization\Attribute
Résultat boolean

render() public méthode

Renders a view.
public render ( string $view, array $parameters = [], Response $response = null ) : Response
$view string The view name
$parameters array An array of parameters to pass to the view
$response Symfony\Component\HttpFoundation\Response
Résultat Symfony\Component\HttpFoundation\Response