public function addPath($path) {
        if (substr($path, 0, 3) === '../') {
            $path = realpath(__DIR__ . '/' . $path);
        }

        if (substr($path, -1) !== '/') {
            $path .= '/';
        }

        $this->_paths[] = $path;

        return $this;
    }
public function addPath($path) {
        if (substr($path, 0, 3) === '../') {
            $path = realpath(__DIR__ . '/' . $path);
        }

        if (substr($path, -1) !== '/') {
            $path .= '/';
        }

        $this->_paths[] = $path;

        return $this;
    }
public function addPath ( $ path ) { if ( substr ( $ path , 0 , 3 ) === '../' ) { $ path = realpath ( __DIR__ . '/' . $ path ) ; } if ( substr ( $ path , - 1 ) !== '/' ) { $ path .= '/' ; } $ this -> _paths [ ] = $ path ; return $ this ; }
Add a configuration lookup path.

@param string $path
@return \Decoda\Decoda
Add a configuration lookup path .