for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SimpleRoute;
final class Result implements ResultInterface
{
/**
* @var RouteInterface
*/
private $route;
* @var array
private $params;
* @param RouteInterface $route
* @param array $params
public function __construct(RouteInterface $route, array $params)
$this->route = $route;
$this->params = $params;
}
* {@inheritdoc}
public function getHandler()
return $this->route->getHandler();
public function getParams()
return $this->params;
public function getRoute()
return $this->route;