public function path($path = null)
    {
        if ($path !== null) {
            $this->path = $path;
        }

        return (string) $this->path;
    }
public function path($path = null)
    {
        if ($path !== null) {
            $this->path = $path;
        }

        return (string) $this->path;
    }
public function path ( $ path = null ) { if ( $ path !== null ) { $ this -> path = $ path ; } return ( string ) $ this -> path ; }
Returns cookie path

@param string $path

@return string
Returns cookie path