PHP Класс Symfony\Bundle\WebProfilerBundle\Tests\Profiler\TemplateManagerTest

Автор: Artur Wielogórski ([email protected])
Наследование: extends Symfony\Bundle\WebProfilerBundle\Tests\TestCase
Показать файл Открыть проект

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

Свойство Тип Описание
$profiler Symfony\Component\HttpKernel\Profiler\Profiler
$templateManager Symfony\Bundle\WebProfilerBundle\Profiler\TemplateManager
$twigEnvironment Twig_Environment

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

Метод Описание
profileHasCollectorCallback ( $panel )
profilerHasCallback ( $panel )
testGetNameOfInvalidTemplate ( )
testGetNameValidTemplate ( ) if template exists in both profile and profiler then its name should be returned.
testGetTemplates ( ) template should be loaded for 'foo' because other collectors are missing in profile or in profiler.

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

Метод Описание
mockProfile ( )
mockProfiler ( )
mockTwigEnvironment ( )
setUp ( )

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

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

protected mockProfile ( )

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

protected mockProfiler ( )

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

protected mockTwigEnvironment ( )

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

public profileHasCollectorCallback ( $panel )

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

public profilerHasCallback ( $panel )

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

protected setUp ( )

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

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

if template exists in both profile and profiler then its name should be returned.

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

template should be loaded for 'foo' because other collectors are missing in profile or in profiler.
public testGetTemplates ( )

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

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

protected Profiler,Symfony\Component\HttpKernel\Profiler $profiler
Результат Symfony\Component\HttpKernel\Profiler\Profiler

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

protected TemplateManager,Symfony\Bundle\WebProfilerBundle\Profiler $templateManager
Результат Symfony\Bundle\WebProfilerBundle\Profiler\TemplateManager

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

protected Twig_Environment $twigEnvironment
Результат Twig_Environment