for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: arnaud
* Date: 22/11/15
* Time: 19:01
*/
namespace Ndrx\Profiler\Renderer\Html\Data;
use Ndrx\Profiler\Renderer\Html\BarInterface;
use Ndrx\Profiler\Renderer\Html\PageInterface;
class Cache extends Collector implements BarInterface, PageInterface
{
* @return string
public function getTitle()
return 'Cache';
}
public function getBadge()
if (empty($this->profile['value'])) {
return '-';
return sprintf('%s (%s)', $this->getTitle(), count($this->profile['value']));
public function getBarContent()
return false;