PHP Class Pagekit\Debug\DataCollector\RoutesDataCollector

Inheritance: implements DebugBar\DataCollector\DataCollectorInterface
Show file Open project: pagekit/pagekit

Protected Properties

Property Type Description
$cache
$file
$route
$router

Public Methods

Method Description
__construct ( Pagekit\Routing\Router $router, Pagekit\Event\EventDispatcherInterface $events, string $cache, string $file = '%s.cache' ) Constructor.
collect ( )
getName ( )

Method Details

__construct() public method

Constructor.
public __construct ( Pagekit\Routing\Router $router, Pagekit\Event\EventDispatcherInterface $events, string $cache, string $file = '%s.cache' )
$router Pagekit\Routing\Router
$events Pagekit\Event\EventDispatcherInterface
$cache string
$file string

collect() public method

public collect ( )

getName() public method

public getName ( )

Property Details

$cache protected property

protected $cache

$file protected property

protected $file

$route protected property

protected $route

$router protected property

protected $router