PHP 클래스 Fakerino\DataSource\FakeFileContainer

저자: Nicola Pietroluongo ([email protected])
파일 보기 프로젝트 열기: fakerino/fakerino 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$files array

공개 메소드들

메소드 설명
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.

메소드 상세

add() 공개 정적인 메소드

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

get() 공개 정적인 메소드

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

프로퍼티 상세

$files 보호되어 있는 정적으로 프로퍼티

protected static array $files
리턴 array