src/Pipes/AbstractPipe.php
private function callIfExistsAndEnabled($method, array $parameters = [])
	{
		if( ! $this->isEnabled()) return;

		if(method_exists($this, $method) && $this->{"{$method}IsEnabled"}())
		{
			$this->container->call([$this, $method], $parameters);
		}
	}
private function callIfExistsAndEnabled($method, array $parameters = [])
	{
		if( ! $this->isEnabled()) return;

		if(method_exists($this, $method) && $this->{"{$method}IsEnabled"}())
		{
			$this->container->call([$this, $method], $parameters);
		}
	}
Call and resolve depepndencies of a method if enabled.

@author	Andrea Marco Sartori
@param	string	$method
@param	array	$parameters
@return	void