<?php
class txaTagApp
{
public function getCss()
{
echo '/assets/bricks/css';
}
}
$class->getCss();
switch ($action) {
case 'firstAction' :
$class->firstMethod();
break;
case 'secondAction' :
$class->secondMethod();
break;
}
[[!yourSnippet? &action = 'firstAction']]
{'!yourSnippet' | snippet : ['action' => 'firstAction']}