PHP Class Alex\BehatLauncher\Behat\OutputFileList

Files are stored in temporary folder until they're saved to a dedicated folder.
Inheritance: implements IteratorAggregate, implements Countable, implements Symfony\Component\Serializer\Normalizer\NormalizableInterface
Afficher le fichier Open project: alexandresalome/behat-launcher Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( array $files = [] )
append ( $format, $content ) : OutputFile Appends a content to given format.
count ( )
get ( $format ) Returns an output file, given his name.
getIterator ( )
getNames ( ) : string[]
normalize ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer, $format = null, array $context = [] )
reset ( ) : OutputFileList Reinitialize the collection, removes all files.
toArrayOfID ( ) : array

Method Details

__construct() public méthode

public __construct ( array $files = [] )
$files array

append() public méthode

Appends a content to given format.
public append ( $format, $content ) : OutputFile
Résultat OutputFile

count() public méthode

public count ( )

get() public méthode

Returns an output file, given his name.
public get ( $format )

getIterator() public méthode

public getIterator ( )

getNames() public méthode

public getNames ( ) : string[]
Résultat string[]

normalize() public méthode

public normalize ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer, $format = null, array $context = [] )
$normalizer Symfony\Component\Serializer\Normalizer\NormalizerInterface
$context array

reset() public méthode

Reinitialize the collection, removes all files.
public reset ( ) : OutputFileList
Résultat OutputFileList

toArrayOfID() public méthode

public toArrayOfID ( ) : array
Résultat array an array of ID