public function getParameters()
    {
        // If the parameters property is null, it still hasn't been set. Parse
        // the path components first.
        if (is_null($this->parameters)) {
            $this->parameters = $this->parsePath();
        }

        return $this->parameters;
    }