public function create($template)
    {
        if (!isset($this->plotters[$template])) {
            throw new \InvalidArgumentException("Unknown template [$template]");
        }
        $className = $this->plotters[$template];
        return new $className($this->finderFactory);
    }
public function create($template)
    {
        if (!isset($this->plotters[$template])) {
            throw new \InvalidArgumentException("Unknown template [$template]");
        }
        $className = $this->plotters[$template];
        return new $className($this->finderFactory);
    }
public function create ( $ template ) { if ( ! isset ( $ this -> plotters [ $ template ] ) ) { throw new \ InvalidArgumentException ( "Unknown template [$template]" ) ; } $ className = $ this -> plotters [ $ template ] ; return new $ className ( $ this -> finderFactory ) ; }
Just get a new plotter by template!

@param string $template
@return \Kpacha\BenchmarkTool\Processor\Gnuplot
@throws \InvalidArgumentException
Just get a new plotter by template!