Remove path, it is part of the uri

This commit is contained in:
Dennis Eichhorn 2017-09-05 12:59:12 +02:00 committed by GitHub
parent fc8ed2166d
commit 0339d8ad44

View File

@ -72,14 +72,6 @@ abstract class RequestAbstract implements MessageInterface
*/
protected $data = [];
/**
* Request data.
*
* @var array
* @since 1.0.0
*/
protected $path = [];
/**
* Request type.
*
@ -208,18 +200,6 @@ abstract class RequestAbstract implements MessageInterface
$this->method = $method;
}
/**
* {@inheritdoc}
*/
public function getPath($key = null) /* : ?string */
{
if ($key === null) {
return $this->path;
}
return $this->path[$key] ?? null;
}
/**
* {@inheritdoc}
*/