private function getCookiePath()
    {
        $path = dirname(parse_url($this->getCurrentUrl(), PHP_URL_PATH));

        if ('\\' === DIRECTORY_SEPARATOR) {
            $path = str_replace('\\', '/', $path);
        }

        return $path;
    }
private function getCookiePath()
    {
        $path = dirname(parse_url($this->getCurrentUrl(), PHP_URL_PATH));

        if ('\\' === DIRECTORY_SEPARATOR) {
            $path = str_replace('\\', '/', $path);
        }

        return $path;
    }
private function getCookiePath ( ) { $ path = dirname ( parse_url ( $ this -> getCurrentUrl ( ) , PHP_URL_PATH ) ) ; if ( '\\' === DIRECTORY_SEPARATOR ) { $ path = str_replace ( '\\' , '/' , $ path ) ; } return $ path ; }
Returns current cookie path.

@return string
Returns current cookie path .