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
*/
protected $host;
protected $name;
protected $scheme;
* @var int
protected $port;
* Get the host.
*
* @return string
public function getHost() : ?string
return $this->host;
}
* Set the host.
* @param string $host
* @return \League\Route\RouteConditionHandlerInterface
public function setHost($host) : RouteConditionHandlerInterface
$this->host = $host;
return $this;
* Get the name.
public function getName() : ?string
return $this->name;
* Set the name.
* @param string $name
public function setName($name) : RouteConditionHandlerInterface
$this->name = $name;
* Get the scheme.
public function getScheme() : ?string
return $this->scheme;
* Set the scheme.
* @param string $scheme
public function setScheme($scheme) : RouteConditionHandlerInterface
$this->scheme = $scheme;
* Get the port.
* @return int
public function getPort() : ?int
return $this->port;
* Set the port.
* @param int $port
public function setPort($port) : RouteConditionHandlerInterface
$this->port = $port;