PHP Class Fakerino\Core\FakeHandler\Handler

Author: Nicola Pietroluongo ([email protected])
Inheritance: implements Fakerino\Core\FakeHandler\HandlerInterface
Exibir arquivo Open project: fakerino/fakerino

Public Methods

Method Description
getFirstChain ( )
getOutput ( $class, $options = null )
handle ( FakeElement $data )
resetFirstChain ( )
setSuccessor ( Fakerino\Core\FakeHandler\HandlerInterface $handler )

Protected Methods

Method Description
process ( FakeElement $data ) : mixed Processes the request.

Private Methods

Method Description
setFirstChain ( )

Method Details

getFirstChain() public static method

public static getFirstChain ( )

getOutput() public method

public getOutput ( $class, $options = null )

handle() final public method

final public handle ( FakeElement $data )
$data Fakerino\Core\FakeElement

process() abstract protected method

Processes the request.
abstract protected process ( FakeElement $data ) : mixed
$data Fakerino\Core\FakeElement
return mixed

resetFirstChain() public static method

public static resetFirstChain ( )

setSuccessor() final public method

final public setSuccessor ( Fakerino\Core\FakeHandler\HandlerInterface $handler )
$handler Fakerino\Core\FakeHandler\HandlerInterface