Skip to content

RouteCollector


  • Full name: \Codefy\Framework\DataCollector\RouteCollector
  • Parent class: DataCollector
  • This class is marked as final and can't be subclassed
  • This class implements: Renderable
  • This class is a Final class

Properties

routeName

private string|null $routeName

controller

private string|null $controller

Methods

__construct

public __construct(string|null $routeName, string|null $controller): mixed

Parameters:

Parameter Type Description
$routeName string|null
$controller string|null

collect

public collect(): array

getName

public getName(): string

getWidgets

public getWidgets(): array