* @since 2.0 */ class RenderEvent extends Event { /** * @var string the view currently being rendered */ public $view; /** * @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; } }