We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mervick/yii2-mthaml#1
May be necessary to parse all used namespaces and paste them before the function definition in the cache file. Something like this Input:
- use yii\helpers\Url %a{:href => Url::toRoute(['shopping/ping', 'id' => (string)$item->productId, 'category' => (string)$item->primaryCategory->categoryId])} test
Output (cache file):
<?php use yii\helpers\Url; function __MtHamlTemplate_3d0018f2469c15708ab379082527f7c90b6b28b9be2e47a1e7d794562143a903($__variables) { extract($__variables); ?><a <?php echo MtHaml\Runtime::renderAttributes(array(array('href', (Url::toRoute(['shopping/ping', 'id' => (string)$item->productId, 'category' => (string)$item->primaryCategory->categoryId])))), 'html5', 'UTF-8'); ?>>test</a> }
The text was updated successfully, but these errors were encountered:
Fixed PHP namespaces usage
60a2013
arnaud-lb#79
b834834
No branches or pull requests
mervick/yii2-mthaml#1
May be necessary to parse all used namespaces and paste them before the function definition in the cache file.
Something like this
Input:
Output (cache file):
The text was updated successfully, but these errors were encountered: