PHP Class Resque\Helpers\Table

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

Protected Properties

Property Type Description
$output CatchOutput
$table TableHelper

Public Methods

Method 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 method

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

__construct() public method

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
return void

__toString() public method

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
return string

Property Details

$output protected_oe property

protected CatchOutput,Resque\Helpers $output
return CatchOutput

$table protected_oe property

protected TableHelper $table
return TableHelper