public function getDestinationPath($package)
    {
        $packages = $this->config->getPackages();

        $namespace = isset($packages[$package]) ? $packages[$package] : null;

        if (is_null($namespace)) {
            throw new \InvalidArgumentException("Configuration not found.");
        }

        return $this->publishPath .str_replace('/', DS, "/Packages/{$namespace}");
    }
public function getDestinationPath($package)
    {
        $packages = $this->config->getPackages();

        $namespace = isset($packages[$package]) ? $packages[$package] : null;

        if (is_null($namespace)) {
            throw new \InvalidArgumentException("Configuration not found.");
        }

        return $this->publishPath .str_replace('/', DS, "/Packages/{$namespace}");
    }
public function getDestinationPath ( $ package ) { $ packages = $ this -> config -> getPackages ( ) ; $ namespace = isset ( $ packages [ $ package ] ) ? $ packages [ $ package ] : null ; if ( is_null ( $ namespace ) ) { throw new \ InvalidArgumentException ( "Configuration not found." ) ; } return $ this -> publishPath . str_replace ( '/' , DS , "/Packages/{$namespace}" ) ; }
Get the target destination path for the configuration files.

@param  string  $package
@return string
Get the target destination path for the configuration files .