PHP Класс Snc\RedisBundle\Tests\CommandTestCase

Автор: Sebastian Göttschkes ([email protected])
Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$application Symfony\Bundle\FrameworkBundle\Console\Application
$container Symfony\Component\DependencyInjection\ContainerInterface
$phpredisClient Snc\RedisBundle\Client\Phpredis\Client
$predisClient Predis\Client

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

Метод Описание
setUp ( ) SetUp called before each tests, setting up the environment (application, globally used mocks)

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

Метод Описание
getCommand ( ) : mixed Method used by the implementation of the command test to return the actual command object
registerPhpredisClient ( )
registerPredisClient ( )

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

getCommand() абстрактный защищенный Метод

Method used by the implementation of the command test to return the actual command object
abstract protected getCommand ( ) : mixed
Результат mixed The command to be tested

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

protected registerPhpredisClient ( )

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

protected registerPredisClient ( )

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

SetUp called before each tests, setting up the environment (application, globally used mocks)
public setUp ( )

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

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

protected Application,Symfony\Bundle\FrameworkBundle\Console $application
Результат Symfony\Bundle\FrameworkBundle\Console\Application

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

protected ContainerInterface,Symfony\Component\DependencyInjection $container
Результат Symfony\Component\DependencyInjection\ContainerInterface

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

protected Client,Snc\RedisBundle\Client\Phpredis $phpredisClient
Результат Snc\RedisBundle\Client\Phpredis\Client

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

protected Client,Predis $predisClient
Результат Predis\Client