for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Yiisoft\View\Event\View;
use Yiisoft\View\View;
/**
* @internal `ViewEvent` represents events triggered by the {@see View} component.
*/
abstract class ViewEvent
{
final public function __construct(
private View $view
) {
}
final public function getView(): View
return $this->view;