for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Yiisoft\Yii\Web\Event;
use Psr\Http\Message\ServerRequestInterface;
final class BeforeRequest
{
private ServerRequestInterface $request;
public function __construct(ServerRequestInterface $request)
$this->request = $request;
}
public function getRequest(): ServerRequestInterface
return $this->request;