PHP Class Fakerino\DataSource\FakeFileContainer

Author: Nicola Pietroluongo ([email protected])
Afficher le fichier Open project: fakerino/fakerino Class Usage Examples

Protected Properties

Свойство Type Description
$files array

Méthodes publiques

Méthode Description
add ( string $name, File $file ) Adds a file to the container.
get ( string $filePath ) : File Gets a file from container, or create a new one if not present.

Method Details

add() public static méthode

Adds a file to the container.
public static add ( string $name, File $file )
$name string
$file Fakerino\DataSource\File\File

get() public static méthode

Gets a file from container, or create a new one if not present.
public static get ( string $filePath ) : File
$filePath string
Résultat Fakerino\DataSource\File\File

Property Details

$files protected_oe static_oe property

protected static array $files
Résultat array