Aplus Framework Dev Commands Library

Routes extends Command
in package

Class Routes.

Table of Contents

$description  : string
$name  : string
$routerInstance  : string
$usage  : string
run()  : void
collectData()  : array<int, mixed>
showCollectionsSet()  : void
writeHeader()  : void

Properties

$description

protected string $description = 'Shows routes list.'

$name

protected string $name = 'routes'

$routerInstance

protected string $routerInstance = 'default'

$usage

protected string $usage = 'routes [options]'

Methods

run()

public run() : void
Return values
void

collectData()

protected collectData() : array<int, mixed>
Return values
array<int, mixed>

showCollectionsSet()

protected showCollectionsSet(int $count) : void
Parameters
$count : int
Return values
void

writeHeader()

protected writeHeader(string $field, string $value) : void
Parameters
$field : string
$value : string
Return values
void

Search results