for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Yoanm\JsonRpcServerDoc\Domain\Model;
/**
* Class HttpServerDoc
*/
class HttpServerDoc extends ServerDoc
{
/** @var string|null */
private $endpoint = null;
private $host = null;
private $basePath = null;
/** @var string[] */
private $schemeList = [];
* @param string $endpoint
*
* @return self
public function setEndpoint(string $endpoint) : self
$this->endpoint = $endpoint;
return $this;
}
* @param string $host
public function setHost(string $host) : self
$this->host = $host;
* @param string $basePath
public function setBasePath(string $basePath) : self
$this->basePath = $basePath;
* @param string[] $schemeList
public function setSchemeList(array $schemeList) : self
$this->schemeList = $schemeList;
* @return string|null
public function getEndpoint() : ?string
return $this->endpoint;
public function getHost() : ?string
return $this->host;
public function getBasePath() : ?string
return $this->basePath;
* @return string[]
public function getSchemeList() : array
return $this->schemeList;