public function getTool($name)
    {
        if (!isset($this->tools[$name])) {
            $this->tools[$name] = $this->createTool($name);
        }
        return $this->tools[$name];
    }
public function getTool($name)
    {
        if (!isset($this->tools[$name])) {
            $this->tools[$name] = $this->createTool($name);
        }
        return $this->tools[$name];
    }
public function getTool ( $ name ) { if ( ! isset ( $ this -> tools [ $ name ] ) ) { $ this -> tools [ $ name ] = $ this -> createTool ( $ name ) ; } return $ this -> tools [ $ name ] ; }
Get tool by name

@param string $name
@return \SubscribePro\Tools\AbstractTool
@throws \SubscribePro\Exception\InvalidArgumentException
Get tool by name