for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace League\Route;
trait RouteConditionTrait
{
/**
* @var string
*/
protected $host;
protected $name;
protected $scheme;
* @var int
protected $port;
* Get the host.
*
* @return string
public function getHost()
return $this->host;
}
* Set the host.
* @param string $host
* @return \League\Route\Route
public function setHost($host)
$this->host = $host;
return $this;
* Get the name.
public function getName()
return $this->name;
* Set the name.
* @param string $name
public function setName($name)
$this->name = $name;
* Get the scheme.
public function getScheme()
return $this->scheme;
* Set the scheme.
* @param string $scheme
public function setScheme($scheme)
$this->scheme = $scheme;
* Get the port.
* @return int
public function getPort()
return $this->port;
* Set the port.
* @param int $port
public function setPort($port)
$this->port = $port;