模板检查器:[只读]检查您的TWIG和Latte模板

时间:2021-02-12 06:16:25
【文件属性】:
文件名称:模板检查器:[只读]检查您的TWIG和Latte模板
文件大小:26KB
文件格式:ZIP
更新时间:2021-02-12 06:16:25
PHP 模板检查器 检查您的TWIG模板 安装 composer require symplify/template-checker --dev 用法 检查拿铁模板 对于现有课程 用于现有的类常量 用于现有的静态呼叫 vendor/bin/template-checker check-latte-template templates 检查细枝控制器路径 final class SomeController { public function index () { return $ this -> render ( 'does_path_exist.twig' ); } } vendor/bin/template-checker check-twig-render src/Controller 从Latte模板提取静态调用到FilterProvider 您
【文件预览】:
template-checker-master
----src()
--------Command()
--------Latte()
--------Analyzer()
--------Console()
--------HttpKernel()
--------Template()
--------PhpParser()
--------Twig()
--------LatteStaticCallAnalyzer.php(2KB)
--------StaticCallWithFilterReplacer.php(1KB)
--------ValueObject()
--------NodeFactory()
----bin()
--------template-checker(68B)
--------template-checker.php(853B)
----LICENSE(1KB)
----composer.json(1001B)
----.github()
--------FUNDING.yaml(67B)
--------workflows()
----phpunit.xml(353B)
----config()
--------config.php(978B)

网友评论