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\WebView;
use Yiisoft\View\WebView;
/**
* @internal `WebViewEvent` represents events triggered by the {@see WebView} component.
*/
abstract class WebViewEvent
{
private WebView $view;
final public function __construct(WebView $view)
$this->view = $view;
}
final public function getView(): WebView
return $this->view;