class Table extends Component (View source)

Properties

protected Router $router Router.
protected string $id

Table ID.

Methods

__construct(Router $router, string $id = 'routes')

Create a new component instance.

View
render()

Get the view / contents that represent the component.

getRoutes()

No description

string
getRouteMiddleware(Route $route)

Get route middleware.

bool
matches(array $patterns, string $subject)

Perform a regular expression match.

Details

__construct(Router $router, string $id = 'routes')

Create a new component instance.

Parameters

Router $router
string $id

View render()

Get the view / contents that represent the component.

Return Value

View

protected getRoutes()

No description

protected string getRouteMiddleware(Route $route)

Get route middleware.

Parameters

Route $route

Return Value

string

protected bool matches(array $patterns, string $subject)

Perform a regular expression match.

Parameters

array $patterns
string $subject

Return Value

bool