PHP Class mageekguy\atoum\iterators\recursives\directory\factory

Inheritance: implements iteratorAggregate
Show file Open project: atoum/atoum Class Usage Examples

Protected Properties

Property Type Description
$acceptDots
$acceptedExtensions
$dotFilterFactory
$extensionFilterFactory
$iteratorFactory

Public Methods

Method Description
__construct ( closure $iteratorFactory = null, closure $dotFilterFactory = null, closure $extensionFilterFactory = null )
acceptAllExtensions ( )
acceptDots ( )
acceptExtensions ( array $extensions )
dotsAreAccepted ( )
getAcceptedExtensions ( )
getDotFilterFactory ( )
getExtensionFilterFactory ( )
getIterator ( $path )
getIteratorFactory ( )
refuseDots ( )
refuseExtension ( $extension )
setDotFilterFactory ( closure $factory = null )
setExtensionFilterFactory ( closure $factory = null )
setIteratorFactory ( closure $factory = null )

Protected Methods

Method Description
cleanExtension ( $extension )

Method Details

__construct() public method

public __construct ( closure $iteratorFactory = null, closure $dotFilterFactory = null, closure $extensionFilterFactory = null )
$iteratorFactory closure
$dotFilterFactory closure
$extensionFilterFactory closure

acceptAllExtensions() public method

public acceptAllExtensions ( )

acceptDots() public method

public acceptDots ( )

acceptExtensions() public method

public acceptExtensions ( array $extensions )
$extensions array

cleanExtension() protected static method

protected static cleanExtension ( $extension )

dotsAreAccepted() public method

public dotsAreAccepted ( )

getAcceptedExtensions() public method

getDotFilterFactory() public method

public getDotFilterFactory ( )

getExtensionFilterFactory() public method

getIterator() public method

public getIterator ( $path )

getIteratorFactory() public method

public getIteratorFactory ( )

refuseDots() public method

public refuseDots ( )

refuseExtension() public method

public refuseExtension ( $extension )

setDotFilterFactory() public method

public setDotFilterFactory ( closure $factory = null )
$factory closure

setExtensionFilterFactory() public method

public setExtensionFilterFactory ( closure $factory = null )
$factory closure

setIteratorFactory() public method

public setIteratorFactory ( closure $factory = null )
$factory closure

Property Details

$acceptDots protected property

protected $acceptDots

$acceptedExtensions protected property

protected $acceptedExtensions

$dotFilterFactory protected property

protected $dotFilterFactory

$extensionFilterFactory protected property

protected $extensionFilterFactory

$iteratorFactory protected property

protected $iteratorFactory