Obtener los paramtros del protocolo file.
@param string $name
@return string
172081
public function file(string $name): string {
        if (!isset($this->file[$name])) {
            return "";
        }
        return $this->file[$name];
    }
594018
public function getOptionalField(string $name) : string
    {
        if (isset($this->fields[$name])) {
            if ($this->fields[$name]) {
                return \array_shift($this->fields[$name]);
            }
        }

        return '';
    }
43545
protected function getFileName($name)
    {
        $name = (string) $name;

        try {
            $template = $this->parser->parse($name);
            $file     = $this->locator->locate($template);
        } catch (\Exception $e) {
            throw new \InvalidArgumentException(sprintf('Unable to find template "%s".', $name));
        }

        return $file;
    }
1030870
public function getFile($name)
    {
        if ($file = $this->resolveFile($name)) {
            return $file;
        } else {
            $components = $this->parseResource($name);
            throw new \RuntimeException(sprintf('Template "%s" not found in directories "%s"', $components['file'], implode('", "', $components['dirs'])));
        }
    }
323753
public function param($name)
    {
        $params = $this->params();
        if (isset($params[$name])) {
            return $params[$name];
        } else {
            return null;
        }
    }
1082364
protected function getFilePath($name)
    {
        if (pathinfo($name, PATHINFO_EXTENSION) === '') {
            $name .= (substr($name, -1) === '/' ? 'index' : '') . '.' . $this->getExt();
        }
        
        return rtrim($this->path, '/') . '/' . ltrim($name, '/');
    }
580602
public function getArguments($name) {
        if (!$this->docoptResult)
            return [];

        if ($this->isArgument($name)) {
            $value = $this->docoptResult[$name];
            if (is_array($value))
                return $value;
            return [$value];
        }
        return [];
    }
684977
public function parameter(string $name): ?string
    {
        if (isset($this->parameters[$name])) {
            return $this->parameters[$name];
        }

        return null;
    }
1188850
public function findFilename($name) {
     	$logicalName = (string) $name;
     	if(isset($this->cache[$logicalName])) {
     		return $this->cache[$logicalName];
     	}

     	try {
     		$template = $this->parser->parse($name);
     		$file = $this->locator->locate($template);
     	} catch (\Exception $e) {
     		throw new \InvalidArgumentException(sprintf('Unable to find template "%s".', $logicalName));
     	}

     	return $this->cache[$logicalName] = $file;
     }
1173822
public function get(string $name) : string
    {
        $result = $this->configCommand($name);

        return $result->getBufferedOutput()[0];
    }
1129949
public function file( $name = '' )
	{
		if( is_array( $name ) ){
			return $this->file = array_merge( $this->file, $name );
		}
		$files = $this->file;
		if( !empty( $files ) ){
			if( $name == '' ){
				return $files;
			} else{
				return $files[$name];
			}
		}
		return null;
	}
488232
protected function getName($name)
    {
        $name = parent::getName($name);

        // This fixes any URL encoded filename and sanitize it
        $name = strtolower(urldecode($name));

        // Replace spaces with a dash
        $name = preg_replace('!\s+!', '-', $name);

        // Remove odd characters
        return preg_replace('/[^A-Za-z0-9\-_\.]/', '', $name);
    }
1345124
public function getHeader($name)
    {
        $k = 'HTTP_' . strtoupper(strtr($name, Generic::$htr));
        return isset($this->headers[$k]) ? $this->headers[$k] : null;
    }
1165311
public function rm($name) {
        $this->open();
        $name   =   $this->options['prefix'].$name;         
        $s      =   'D' . pack('N', strlen($name)) . $name;
        fwrite($this->handler, $s);
        $ret    = fgets($this->handler);
        $this->close();
        return $ret === "OK\n";
     }
25862
protected function getPossibleViewFiles($name)
    {
        if(is_file($name)){
            return array($name);
        }

        $response = array_map(function($extension) use ($name)
        {
            return str_replace('.', '/', $name).'.'.$extension;

        }, $this->extensions);

        return $response;
    }
4203
public function getFile(string $name)
    {
        return $this->fileContentAreas->where(function (FileContentArea $contentArea) use ($name) {
            return $contentArea->name === $name;
        })->first();
    }
1326705
public function getParam ($name)
		{
			if (isset( $this->_params[ $name ] ))
				return $this->_params[ $name ];
			else
				return null;
		}