for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* ZfDebugModule. Console commands and other utilities for debugging ZF2 apps.
*
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @copyright 2016 Vítor Brandão <[email protected]>
*/
namespace Noiselabs\ZfDebugModule\Util\Routing;
class Route
{
* @var string
private $name;
private $url;
private $controller;
private $action;
* @param string $name
* @param $url
* @param string $controller
* @param string $action
public function __construct($name, $url, $controller, $action)
$this->name = $name;
$this->url = $url;
$this->controller = $controller;
$this->action = $action;
}
* @return string
public function getName()
return $this->name;
public function getUrl()
return $this->url;
public function getController()
return $this->controller;
public function getAction()
return $this->action;