PHP Class FileNamingResolver\NamingStrategy\CallbackNamingStrategy

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

Protected Properties

Свойство Type Description
$callback Closure

Méthodes publiques

Méthode Description
__construct ( Closure $callback )
getCallback ( ) : Closure
provideName ( FileInfo $srcFileInfo )

Method Details

__construct() public méthode

public __construct ( Closure $callback )
$callback Closure

getCallback() public méthode

public getCallback ( ) : Closure
Résultat Closure

provideName() public méthode

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

Property Details

$callback protected_oe property

protected Closure $callback
Résultat Closure