【文件属性】:
文件名称:BenchmarkBundle:symfony 2 对基准的注释
文件大小:16KB
文件格式:ZIP
更新时间:2021-05-29 10:46:39
PHP
BenchmarkBundle 简介
该捆绑包为 symfony 2 提供 @Benchmark 注释,用于显示具有持续时间处理确定功能或控制器的日志。 这个包需要 JMSAopBundle。
安装和配置:
获取捆绑包
添加到您的composer.json文件:
composer require izquierdogalan/benchmark-bundle
将 BenchmarkBundle 添加到您的应用程序内核
<?php
// app/AppKernel.php
public function registerBundles ()
{
return array (
// ...
new JMS \ AopBundle \ JMSAopBundle (),
new E
【文件预览】:
BenchmarkBundle-master
----Resources()
--------views()
--------config()
----EasysBenchmarkBundle.php(136B)
----phpunit.xml.dist(483B)
----Tests()
--------autoload.php.dist(705B)
--------bootstrap.php(51B)
----.idea()
--------composerJson.xml(244B)
----.travis.yml(216B)
----LICENSE(18KB)
----DependencyInjection()
--------EasysBenchmarkExtension.php(877B)
--------Configuration.php(873B)
----README.md(1KB)
----Aop()
--------BenchmarkInterceptor.php(1KB)
--------BenchmarkPointcut.php(1KB)
--------Benchmark.php(113B)
----.gitignore(8B)
----composer.json(782B)
----vendor()
--------vendors.php(750B)