public function registerPath($path, $highPriority = true)
    {
        if ($highPriority) {
            array_unshift($this->paths, $path);
        } else {
            array_push($this->paths, $path);
        }
        return $this;
    }
public function registerPath($path, $highPriority = true)
    {
        if ($highPriority) {
            array_unshift($this->paths, $path);
        } else {
            array_push($this->paths, $path);
        }
        return $this;
    }
public function registerPath ( $ path , $ highPriority = true ) { if ( $ highPriority ) { array_unshift ( $ this -> paths , $ path ) ; } else { array_push ( $ this -> paths , $ path ) ; } return $ this ; }
Registers path to views.

@param string $path
@param bool $highPriority
@return $this
Registers path to views .