PHP Class Resque\Helpers\Table

Author: Michael Haynes ([email protected])
Afficher le fichier Open project: mjphaynes/php-resque Class Usage Examples

Protected Properties

Свойство Type Description
$output CatchOutput
$table TableHelper

Méthodes publiques

Méthode Description
__call ( string $method, array $parameters ) : mixed Pass all called functions to the table helper
__construct ( Command $command ) : void Render the table and pass the output back.
__toString ( ) : string Render the table and pass the output back.

Method Details

__call() public méthode

Pass all called functions to the table helper
public __call ( string $method, array $parameters ) : mixed
$method string
$parameters array
Résultat mixed

__construct() public méthode

This is done this way because the table helper dumps everything to the output and there is no way to catch so have to override with a special output.
public __construct ( Command $command ) : void
$command Symfony\Component\Console\Command\Command
Résultat void

__toString() public méthode

This is done this way because the table helper dumps everything to the output and there is no way to catch so have to override with a special output.
public __toString ( ) : string
Résultat string

Property Details

$output protected_oe property

protected CatchOutput,Resque\Helpers $output
Résultat CatchOutput

$table protected_oe property

protected TableHelper $table
Résultat TableHelper