for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace League\Route;
trait RouteConditionHandlerTrait
{
/**
* @var string|null
*/
protected $host;
protected $name;
protected $scheme;
* @var int|null
protected $port;
* {@inheritdoc}
public function getHost() : ?string
return $this->host;
}
public function setHost(string $host) : RouteConditionHandlerInterface
$this->host = $host;
return $this;
public function getName() : ?string
return $this->name;
public function setName(string $name) : RouteConditionHandlerInterface
$this->name = $name;
public function getScheme() : ?string
return $this->scheme;
public function setScheme(string $scheme) : RouteConditionHandlerInterface
$this->scheme = $scheme;
public function getPort() : ?int
return $this->port;
public function setPort(int $port) : RouteConditionHandlerInterface
$this->port = $port;