Returns the raw path definition for the name given.

@param string $name

@return string|null
340018
public function raw($name)
    {
        $name = $this->normalizeName($name);

        return isset($this->paths[$name]) ? $this->paths[$name] : null;
    }
297085
protected function getPath($name)
    {
        $name = str_replace_first($this->getPackageNamespace(), '', $name);
        $this->checkDestination();
        return base_path() . $this->getDestination() . '/'.str_replace('\\', '/', $name).'.php';
    }
1215827
public function get(string $name): string
    {
        $name = strtolower($name);
        return isset($this->headers[$name]) ? $this->headers[$name] : '';
    }
429952
public function getPath($name)
    {
        if (array_key_exists($name, $this->paths)) {
            return '/' . $this->paths[$name];
        } else {
            throw new \InvalidArgumentException(sprintf('Path "%s" is not defined. Maybe you forgot to add it to tuna_cms_admin.paths config?', $name));
        }
    }
947258
public function get(string $name){
        foreach($this->routes as $route){
			if($route->matchName($name))
				return $route;
		}
		return null;
    }
751817
public static function getFormatDefinition(string $name): ?string
    {
        if (!self::$formats) {
            self::$formats = self::initFormats();
        }

        return isset(self::$formats[$name]) ? self::$formats[$name] : null;
    }
1052594
public function oneNamed(string $name): ?Route
    {
        if (!array_key_exists($name, $this->named)) {
            return null;
        }

        return $this->named[$name];
    }
1047905
public function path($name = null)
    {
        if ($name !== null) {
            return $this->path().'/'.$name;
        } else {
            return $this->app->basePath().'/'.$this->app['config']->get('addon.path', 'addons');
        }
    }
570053
public function getPathVar(string $name)
    {
        if (isset($this->pathVars[$name])) {
            return $this->pathVars[$name];
        }

        return null;
    }
634786
protected function getUriFromKey($name)
    {
        if(preg_match('/(?=[A-Z])/',$name) !== false)
        {
            $pieces = preg_split('/(?=[A-Z])/',$name);
            $uri = strtolower(join('_', $pieces));
        }
        else $uri = $name;

        return $uri;
    }
1216624
public function getConfigurationPath($name = null)
    {
        if (! $name) {
            $appConfigDir = base_path('config') . '/';

            if (file_exists($appConfigDir)) {
                return $appConfigDir;
            } elseif (file_exists($path = __DIR__ . '/../config/')) {
                return $path;
            }
        } else {
            $appConfigPath = base_path('config') . '/' . $name . '.php';

            if (file_exists($appConfigPath)) {
                return $appConfigPath;
            } elseif (file_exists($path = __DIR__ . '/../config/' . $name . '.php')) {
                return $path;
            }
        }

        return '';
    }
337100
protected function getPath($name) {
		$path = [];
		$matches = null;
		preg_match('/^([^\[]+)/', $name, $matches);
		$path[] = $matches[0];
		preg_match_all('/\[([^\]]*)\]/', $name, $matches);
		$path = array_merge($path, $matches[1]);

		return $path;
	}
992340
private function getViewPath($name)
    {

        $module = $this->module_name !== NULL ? ($this->module_name) . DSC : '';
        return $this->getRealPath('views' . DSC . $module . $name);
    }
1119376
protected function getNamedItem(string $name)
    {
        if (array_key_exists($name, $this->items)) {
            return $this->items[$name];
        }

        return null;
    }
649672
public function findDefinition(string $name)
    {
        $name = $this->normalizeDefinitionName($name);

        foreach ($this->definitions as $definition) {
            if ($definition->getName() === $name) {
                return $definition;
            }
        }

        return null;
    }
799725
protected function getChild(string $name): Path {
    $full_path = "{$this->path}/$name";

    if($this->driver->isDir($full_path)) {
      return $this->driver->getDirectory($full_path);
    }

    return $this->driver->getFile($full_path);
  }
758187
public function getNamedRoute($name)
    {
        $this->getNamedRoutes();
        if ($this->hasNamedRoute($name)) {
            return $this->namedRoutes[(string) $name];
        } else {
            return null;
        }
    }