PHP 클래스 spec\GrumPHP\Collection\FilesCollectionSpec

상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: phpro/grumphp

보호된 프로퍼티들

프로퍼티 타입 설명
$tempFile string

공개 메소드들

메소드 설명
it_is_an_array_collection ( )
it_is_initializable ( )
it_should_filter_by_a_list_of_files ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
it_should_filter_by_callback ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
it_should_filter_by_date ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
it_should_filter_by_extension ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
it_should_filter_by_name ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
it_should_filter_by_not_name ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
it_should_filter_by_not_path ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
it_should_filter_by_path ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
it_should_filter_by_paths ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
it_should_filter_by_size ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
it_should_return_an_empty_list_when_filtering_by_no_extension ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
let ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
letgo ( )

메소드 상세

it_is_an_array_collection() 공개 메소드

it_is_initializable() 공개 메소드

public it_is_initializable ( )

it_should_filter_by_a_list_of_files() 공개 메소드

public it_should_filter_by_a_list_of_files ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
$file1 Symfony\Component\Finder\SplFileInfo
$file2 Symfony\Component\Finder\SplFileInfo

it_should_filter_by_callback() 공개 메소드

public it_should_filter_by_callback ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
$file1 Symfony\Component\Finder\SplFileInfo
$file2 Symfony\Component\Finder\SplFileInfo

it_should_filter_by_date() 공개 메소드

public it_should_filter_by_date ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
$file1 Symfony\Component\Finder\SplFileInfo
$file2 Symfony\Component\Finder\SplFileInfo

it_should_filter_by_extension() 공개 메소드

public it_should_filter_by_extension ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
$file1 Symfony\Component\Finder\SplFileInfo
$file2 Symfony\Component\Finder\SplFileInfo

it_should_filter_by_name() 공개 메소드

public it_should_filter_by_name ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
$file1 Symfony\Component\Finder\SplFileInfo
$file2 Symfony\Component\Finder\SplFileInfo

it_should_filter_by_not_name() 공개 메소드

public it_should_filter_by_not_name ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
$file1 Symfony\Component\Finder\SplFileInfo
$file2 Symfony\Component\Finder\SplFileInfo

it_should_filter_by_not_path() 공개 메소드

public it_should_filter_by_not_path ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
$file1 Symfony\Component\Finder\SplFileInfo
$file2 Symfony\Component\Finder\SplFileInfo

it_should_filter_by_path() 공개 메소드

public it_should_filter_by_path ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
$file1 Symfony\Component\Finder\SplFileInfo
$file2 Symfony\Component\Finder\SplFileInfo

it_should_filter_by_paths() 공개 메소드

public it_should_filter_by_paths ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
$file1 Symfony\Component\Finder\SplFileInfo
$file2 Symfony\Component\Finder\SplFileInfo

it_should_filter_by_size() 공개 메소드

public it_should_filter_by_size ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
$file1 Symfony\Component\Finder\SplFileInfo
$file2 Symfony\Component\Finder\SplFileInfo

it_should_return_an_empty_list_when_filtering_by_no_extension() 공개 메소드

public it_should_return_an_empty_list_when_filtering_by_no_extension ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
$file1 Symfony\Component\Finder\SplFileInfo
$file2 Symfony\Component\Finder\SplFileInfo

let() 공개 메소드

public let ( Symfony\Component\Finder\SplFileInfo $file1, Symfony\Component\Finder\SplFileInfo $file2 )
$file1 Symfony\Component\Finder\SplFileInfo
$file2 Symfony\Component\Finder\SplFileInfo

letgo() 공개 메소드

public letgo ( )

프로퍼티 상세

$tempFile 보호되어 있는 프로퍼티

protected string $tempFile
리턴 string