for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author @fabfuel <[email protected]>
* @created 16.11.14, 20:05
*/
namespace Fabfuel\Prophiler\Plugin;
use Fabfuel\Prophiler\ProfilerInterface;
abstract class PluginAbstract
{
* @var ProfilerInterface
protected $profiler;
* @param ProfilerInterface $profiler
* @return static
public static function getInstance(ProfilerInterface $profiler)
$plugin = new static;
$plugin->setProfiler($profiler);
return $plugin;
}
* @return ProfilerInterface
public function getProfiler()
return $this->profiler;
public function setProfiler(ProfilerInterface $profiler)
$this->profiler = $profiler;