PHP Class FileNamingResolver\NamingStrategy\CallbackNamingStrategy

Author: Victor Bocharsky ([email protected])
Inheritance: extends AbstractNamingStrategy
Exibir arquivo Open project: bocharsky-bw/FileNamingResolver Class Usage Examples

Protected Properties

Property Type Description
$callback Closure

Public Methods

Method Description
__construct ( Closure $callback )
getCallback ( ) : Closure
provideName ( FileInfo $srcFileInfo )

Method Details

__construct() public method

public __construct ( Closure $callback )
$callback Closure

getCallback() public method

public getCallback ( ) : Closure
return Closure

provideName() public method

public provideName ( FileInfo $srcFileInfo )
$srcFileInfo FileNamingResolver\FileInfo

Property Details

$callback protected_oe property

protected Closure $callback
return Closure