src/Tasks/Build/Base.php
public function addFiles($type, $fileArray)
	{
		$method = 'add' . ucfirst($type) . "Files";

		if (method_exists($this, $method))
		{
			$this->$method($fileArray);
		}
		else
		{
			$this->say('Missing method: ' . $method);
		}

		return true;
	}
public function addFiles($type, $fileArray)
	{
		$method = 'add' . ucfirst($type) . "Files";

		if (method_exists($this, $method))
		{
			$this->$method($fileArray);
		}
		else
		{
			$this->say('Missing method: ' . $method);
		}

		return true;
	}
public function addFiles ( $ type , $ fileArray ) { $ method = 'add' . ucfirst ( $ type ) . "Files" ; if ( method_exists ( $ this , $ method ) ) { $ this -> $ method ( $ fileArray ) ; } else { $ this -> say ( 'Missing method: ' . $ method ) ; } return true ; }
Add files to array

@param   string $type      - Type (media, component etc.)
@param   array  $fileArray - File array

@return  bool

@since   1.0
Add files to array