PHP Class FileNamingResolver\NamingStrategy\AggregateNamingStrategy

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

Protected Properties

Свойство Type Description
$mode boolean
$strategies FileNamingResolver\NamingStrategy\NamingStrategyInterface[]

Méthodes publiques

Méthode Description
__construct ( array $strategies, boolean $mode = self::MODE_FORWARD )
getStrategies ( ) : FileNamingResolver\NamingStrategy\NamingStrategyInterface[]
isForwardMode ( ) : boolean
isReverseMode ( ) : boolean
provideName ( FileInfo $srcFileInfo )

Method Details

__construct() public méthode

public __construct ( array $strategies, boolean $mode = self::MODE_FORWARD )
$strategies array
$mode boolean

getStrategies() public méthode

public getStrategies ( ) : FileNamingResolver\NamingStrategy\NamingStrategyInterface[]
Résultat FileNamingResolver\NamingStrategy\NamingStrategyInterface[]

isForwardMode() public méthode

public isForwardMode ( ) : boolean
Résultat boolean

isReverseMode() public méthode

public isReverseMode ( ) : boolean
Résultat boolean

provideName() public méthode

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

Property Details

$mode protected_oe property

protected bool $mode
Résultat boolean

$strategies protected_oe property

protected NamingStrategyInterface[],FileNamingResolver\NamingStrategy $strategies
Résultat FileNamingResolver\NamingStrategy\NamingStrategyInterface[]