Get destination path.

@return string
971875
public function getDestinationPath()
    {
        if ($this->repository->config('merge.published-assets')) {
            return $this->repository->assetPath('');
        }

        return $this->repository->assetPath($this->component->getLowerName());
    }
317599
public function getPath()
    {
        $path = !empty($this->info['path']) ? '/'.implode('/', $this->info['path']).'/' : '/';

        if (!empty($this->info['file'])) {
            $path .= $this->info['file'];

            if (!empty($this->info['extension'])) {
                $path .= '.'.$this->info['extension'];
            }
        }

        return $path;
    }
31244
public function getRelativePath()
    {
        if ($this->path === $this->basePath) {
            return '';
        }
        return substr($this->path, strlen($this->basePath) + 1);
    }
720400
static public function getCurrentPath()
	{
	    $baseUrl = static::getRootUrl();
	    $parts = parse_url(static::getCurrentUrl());
	    $baseUrl .= isset($parts['path']) ? $parts['path'] : null;
	    
	    return rtrim($baseUrl, '/');
	}
1317303
public function path()
    {
        $dirname = $this->dirname();

        if ($this->parent instanceof Root) { //at root

            return $dirname.$this->basename();
        }

        return sprintf('%s/%s', $dirname, $this->basename());

    }
1346823
public function getPath()
    {
        $config = $this->component->get('migration');

        $path = (is_array($config) && array_key_exists('path', $config)) ? $config['path'] : config('components.paths.generator.migration');

        return $this->component->getExtraPath($path);
    }
472514
public function getPath()
    {
        $path = $this->path;

        if ( ! empty(static::$basePath)) {
            $path = static::$basePath.DS.ltrim($path, DS);
        }

        return $path;
    }
205144
private function getPath() {
		if($this->path === false) {
			$this->path = $this->timepath ? date('Y/m/d', $this->getTime()) : '';
		}

		return $this->path;
	}
1004624
protected function getPath() {
		switch ($this->type) {
			case self::TYPE_MODEL :
				$path = $this->getNames()->modelPath;
				break;
			
			case self::TYPE_ENTITYABSTRACT :
				$path = $this->getNames()->entityAbstractPath;
				break;
			
			case self::TYPE_ENTITY :
				$path = $this->getNames()->entityPath;
				break;
			
			default :
				;
				break;
		}
		return $path;
	}
6421
public function getPath()
    {
        if($this->getType() == 'memory') {
            $this->_path = parse_url($this->_path, PHP_URL_PATH);
        }

        if($this->getType() == 'temp')
        {
            if(!$this->getResource()) {
                $this->_path = $this->getTemporaryFile();
            }
        }

        return parent::getPath();
    }
695488
public function getPath()
    {
        $config = $this->module->get('migration');

        $migrationPath = GenerateConfigReader::read('migration');
        $path = (is_array($config) && array_key_exists('path', $config)) ? $config['path'] : $migrationPath->getPath();

        return $this->module->getExtraPath($path);
    }
825132
private function _get_path()
    {

        if (empty($this->file) && is_string($this->file)) return false;

        if (strpos($this->file, '/') !== false) {
            $path = explode('/', $this->file);
            array_pop($path);
            $this->path = (string)implode('/', $path) . '/';
        } elseif (strpos('\\', $this->file) !== false) {
            $path = explode('\\', $this->file);
            array_pop($path);
            $this->path = (string)implode('\\', $path) . '\\';
        } else {
            $this->path = getcwd() . '/';
        }

        return true;
    }
1035014
public function getPath()
    {
        if ($this->requestTarget === null) {
            return $this->uri->getPath();
        }

        list($path) = explode('?', $this->requestTarget);

        return $path;
    }
775582
public function getDestinationPath()
    {
        if ($this->path) {
            return $this->path;
        }

        return $this->repository->getComponentPath($this->getComponentName());
    }
68323
public function path(){

        $args = \func_get_args();

        switch (\count($args)){

            case 1:

                $file  = $args[0];

                if ($this->isAbsolutePath($file) && \file_exists($file)) {
                    return $file;
                }

                $parts = \explode(':', $file, 2);

                if (count($parts)==2){
                    if (!isset($this->paths[$parts[0]])) return false;

                    foreach ($this->paths[$parts[0]] as &$path){
                        if (\file_exists($path.$parts[1])){
                            return $path.$parts[1];
                        }
                    }
                }

                return false;

            case 2:

                if (!isset($this->paths[$args[0]])) {
                    $this->paths[$args[0]] = [];
                }
                \array_unshift($this->paths[$args[0]], \rtrim(\str_replace(DIRECTORY_SEPARATOR, '/', $args[1]), '/').'/');

                return $this;
        }

        return null;
    }
1307678
public function pathInfo() {
        $url = $this->url();
        $index = strpos($url, "?");
        if ($index) {
            $url = substr($url, 0, $index);
        }

        return $url;
    }
773481
public function getPath()
    {
        $sname = '';
        $gname = '';
        $vname = $this->getName();
        if ( $this->getConfigGroup() ) {
            if ( $this->getConfigGroup()->getConfigSection() ) {
                $sname = $this->getConfigGroup()->getConfigSection()->getName();
            }
            $gname = $this->getConfigGroup()->getName();
        }

        return sprintf(
            '%s:%s:%s',
            $sname,
            $gname,
            $vname
        );
    }