for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author @fabfuel <[email protected]>
* @created 21.06.15, 08:59
*/
namespace Fabfuel\Prophiler\Decorator;
use Fabfuel\Prophiler\ProfilerInterface;
class GeneralDecorator extends AbstractDecorator
{
* @param object $decorated
* @param ProfilerInterface $profiler
public function __construct($decorated, ProfilerInterface $profiler)
$this->setDecorated($decorated);
$this->setProfiler($profiler);
}
* @return string
public function getComponentName()
return current(explode('\\', get_class($this->getDecorated()), 2));