protected function extensionPath($path = '')
    {
        $path = rtrim($path, '/');

        if (empty($path)) {
            return rtrim($this->basePath, '/');
        }

        return rtrim($this->basePath, '/').'/'.ltrim($path, '/');
    }
protected function extensionPath($path = '')
    {
        $path = rtrim($path, '/');

        if (empty($path)) {
            return rtrim($this->basePath, '/');
        }

        return rtrim($this->basePath, '/').'/'.ltrim($path, '/');
    }
protected function extensionPath ( $ path = '' ) { $ path = rtrim ( $ path , '/' ) ; if ( empty ( $ path ) ) { return rtrim ( $ this -> basePath , '/' ) ; } return rtrim ( $ this -> basePath , '/' ) . '/' . ltrim ( $ path , '/' ) ; }
Extension path.

@param string $path

@return string
Extension path .