PHP Класс Neos\Media\Tests\Functional\AbstractTest

Наследование: extends Neos\Flow\Tests\FunctionalTestCase
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$resourceManager Neos\Flow\ResourceManagement\ResourceManager
$temporaryDirectory string

Открытые методы

Метод Описание
tearDown ( )

Защищенные методы

Метод Описание
createMockResourceAndPointerFromHash ( string $hash ) : PersistentResource Creates a mock ResourcePointer and PersistentResource from a given hash.
getMockResourceByImagePath ( string $imagePathAndFilename ) : PersistentResource Creates an Image object from a file using a mock resource (in order to avoid a database resource pointer entry)
prepareResourceManager ( ) : void Initializes the resource manager and modifies the persistent resource storage location.
prepareTemporaryDirectory ( ) : void Builds a temporary directory to work on.

Описание методов

createMockResourceAndPointerFromHash() защищенный Метод

Make sure that a file representation already exists, e.g. with file_put_content('resource://' . $hash) before
protected createMockResourceAndPointerFromHash ( string $hash ) : PersistentResource
$hash string
Результат Neos\Flow\ResourceManagement\PersistentResource

getMockResourceByImagePath() защищенный Метод

Creates an Image object from a file using a mock resource (in order to avoid a database resource pointer entry)
protected getMockResourceByImagePath ( string $imagePathAndFilename ) : PersistentResource
$imagePathAndFilename string
Результат Neos\Flow\ResourceManagement\PersistentResource

prepareResourceManager() защищенный Метод

Initializes the resource manager and modifies the persistent resource storage location.
protected prepareResourceManager ( ) : void
Результат void

prepareTemporaryDirectory() защищенный Метод

Builds a temporary directory to work on.
protected prepareTemporaryDirectory ( ) : void
Результат void

tearDown() публичный Метод

public tearDown ( )

Описание свойств

$resourceManager защищенное свойство

protected ResourceManager,Neos\Flow\ResourceManagement $resourceManager
Результат Neos\Flow\ResourceManagement\ResourceManager

$temporaryDirectory защищенное свойство

protected string $temporaryDirectory
Результат string