PHP Класс spec\GrumPHP\Collection\FilesCollectionSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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