for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author @fabfuel <[email protected]>
* @created 17.11.14, 07:45
*/
namespace Fabfuel\Prophiler\Toolbar\Formatter;
class LogFormatter extends BenchmarkFormatter
{
* @return string
public function getLabel()
$severity = $this->getMetadata()['severity'];
return sprintf(
'<span class="label %s">%s</span>',
$this->getColorClass(),
strtoupper($severity)
);
}
public function getColorClass()
'severity-%s',
$severity