* @since 2.0 */ class RenderEvent extends Event { /** * @var string the view currently being rendered */ public $view; /** * @var string the content to be displayed */ public $content; /** * @var boolean whether the action is in valid state and its life cycle should proceed. */ public $isValid = true; /** * Constructor. * @param string $view the view currently being rendered */ public function __construct($view) { $this->view = $view; } }