protected function addNewPath($path, $alias, $mode)
    {
        if ($cleanPath = $this->cleanPathInternal($path)) {
            if ($mode === self::MOD_PREPEND) {
                array_unshift($this->paths[$alias], $cleanPath);
            }

            if ($mode === self::MOD_APPEND) {
                $this->paths[$alias][] = $cleanPath;
            }
        }
    }
protected function addNewPath($path, $alias, $mode)
    {
        if ($cleanPath = $this->cleanPathInternal($path)) {
            if ($mode === self::MOD_PREPEND) {
                array_unshift($this->paths[$alias], $cleanPath);
            }

            if ($mode === self::MOD_APPEND) {
                $this->paths[$alias][] = $cleanPath;
            }
        }
    }
protected function addNewPath ( $ path , $ alias , $ mode ) { if ( $ cleanPath = $ this -> cleanPathInternal ( $ path ) ) { if ( $ mode === self :: MOD_PREPEND ) { array_unshift ( $ this -> paths [ $ alias ] , $ cleanPath ) ; } if ( $ mode === self :: MOD_APPEND ) { $ this -> paths [ $ alias ] [ ] = $ cleanPath ; } } }
Add path to hold.

@param string|array $path (example: "default:file.txt" or "C:/Server/public_html/index.php")
@param string       $alias
@param string|bool  $mode
@return void
Add path to hold .