PHP Class Plum\Plum\Converter\CallbackConverter

Author: Florian Eckerstorfer ([email protected])
Inheritance: implements Plum\Plum\Converter\ConverterInterface
Datei anzeigen Open project: plumphp/plum

Public Methods

Method Description
__construct ( callable $callback )
convert ( mixed $item ) : mixed

Method Details

__construct() public method

public __construct ( callable $callback )
$callback callable

convert() public method

public convert ( mixed $item ) : mixed
$item mixed
return mixed