PHP Class FileNamingResolver\NamingStrategy\AggregateNamingStrategy

Author: Victor Bocharsky ([email protected])
Inheritance: extends AbstractNamingStrategy
显示文件 Open project: bocharsky-bw/FileNamingResolver

Protected Properties

Property Type Description
$mode boolean
$strategies FileNamingResolver\NamingStrategy\NamingStrategyInterface[]

Public Methods

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

Method Details

__construct() public method

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

getStrategies() public method

public getStrategies ( ) : FileNamingResolver\NamingStrategy\NamingStrategyInterface[]
return FileNamingResolver\NamingStrategy\NamingStrategyInterface[]

isForwardMode() public method

public isForwardMode ( ) : boolean
return boolean

isReverseMode() public method

public isReverseMode ( ) : boolean
return boolean

provideName() public method

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

Property Details

$mode protected_oe property

protected bool $mode
return boolean

$strategies protected_oe property

protected NamingStrategyInterface[],FileNamingResolver\NamingStrategy $strategies
return FileNamingResolver\NamingStrategy\NamingStrategyInterface[]