twig\ViewRenderer $lexerOptions

$lexerOptions public write-only property Twig lexer options. Example: Smarty-like syntax: `php [ 'tag_comment' => ['{*', '*}'], 'tag_block' => ['{', '}'], 'tag_variable' => ['{$', '}'] ] ` See also http://twig.sensiolabs.org/doc/recipes.html#customizing-the-syntax. public void setLexerOptions ( $options )

twig\ViewRenderer $twigFallbackPaths

$twigFallbackPaths public property (available since version 2.0.5) Twig fallback paths public array $twigFallbackPaths = []

twig\ViewRenderer $functions

$functions public property Custom functions. Keys of the array are names to call in template, values are names of functions or static methods of some class. Example: ['rot13' => 'str_rot13', 'a' => '\yii\helpers\Html::a']. In the template you can use it like this: {{ rot13('test') }} or {{ a('Login', 'site/login') | raw }}. public array $functions = []

twig\ViewRenderer $filters

$filters public property Custom filters. Keys of the array are names to call in template, values are names of functions or static methods of some class. Example: ['rot13' => 'str_rot13', 'jsonEncode' => '\yii\helpers\Json::encode']. In the template you can use it like this: {{ 'test'|rot13 }} or {{ model|jsonEncode }}. public array $filters = []

twig\ViewRenderer $extensions

$extensions public property Custom extensions. Example: ['Twig_Extension_Sandbox', new \Twig_Extension_Text()] public array $extensions = []

twig\ViewRenderer $cachePath

$cachePath public property The directory or path alias pointing to where Twig cache will be stored. Set to false to disable templates cache. public string $cachePath = '@runtime/Twig/cache'

Theming

Theming Modules Theming Widgets Theme Inheritance Theming is a way to replace a set of views with another without the need of touching the original view rendering code. You can use theming to systematically change the look and feel of an application. To use theming, you should configure the theme property of the view application component. The property configures a yii\base\Theme object which governs how view files are being replaced. You should mainly specify the following properties of yii\b

test\InitDbFixture checkIntegrity()

checkIntegrity() public method Toggles the DB integrity check. public void checkIntegrity ( $check )$check boolean Whether to turn on or off the integrity check.

test\InitDbFixture load()

load() public method Loads the fixture. This method is called before performing every test method. You should override this method with concrete implementation about how to set up the fixture. public void load ( )

test\InitDbFixture beforeUnload()

beforeUnload() public method This method is called BEFORE any fixture data is unloaded for the current test. public void beforeUnload ( )