Documentation

Cli
in package
implements Controller Uses Content

Generic controller for command line interface.

It is intended to be called from command line like:

php index.php cli/class/action --param1=value1 --param2=value2

Table of Contents

Interfaces

Controller

Properties

$data  : array<string|int, mixed>
Contains parameters value collected from command line.

Methods

execute()  : void
Action dispatcher.

Properties

$data

Contains parameters value collected from command line.

protected array<string|int, mixed> $data = []

Methods

execute()

Action dispatcher.

public execute(Base $f3[, string $action = "" ]) : void
Parameters
$f3 : Base
$action : string = ""

        
On this page

Search results