PHP Class Sulu\Bundle\PreviewBundle\Preview\Events\PreRenderEvent

Inheritance: extends Symfony\Component\EventDispatcher\Event
Show file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( RequestAttributes $requestAttributes )
getAttribute ( string $name, mixed | null $default = null ) : mixed Returns request attribute with given name.
getRequestAttributes ( ) : RequestAttributes Returns requestAttributes.

Method Details

__construct() public method

public __construct ( RequestAttributes $requestAttributes )
$requestAttributes Sulu\Component\Webspace\Analyzer\Attributes\RequestAttributes

getAttribute() public method

Returns request attribute with given name.
public getAttribute ( string $name, mixed | null $default = null ) : mixed
$name string
$default mixed | null
return mixed

getRequestAttributes() public method

Returns requestAttributes.
public getRequestAttributes ( ) : RequestAttributes
return Sulu\Component\Webspace\Analyzer\Attributes\RequestAttributes