original_string: private function parse()
      {
          $this->parameters   = [];
          $this->pathSegments = [];
          $parsedUrl          = parse_url($this->returnValue);
          foreach ($parsedUrl as $key => $value) {
              if ($key == 'query') {
                  parse_str($value, $this->parameters);
              } elseif ($key == 'path') {
                  $this->pathSegments = ($value) ? explode('/', ltrim($value, '/')) : [];
              } else {
                  $this->{$key} = $value;
              }
          }
          return $this;
      }
code: private function parse()
      {
          $this->parameters   = [];
          $this->pathSegments = [];
          $parsedUrl          = parse_url($this->returnValue);
          foreach ($parsedUrl as $key => $value) {
              if ($key == 'query') {
                  parse_str($value, $this->parameters);
              } elseif ($key == 'path') {
                  $this->pathSegments = ($value) ? explode('/', ltrim($value, '/')) : [];
              } else {
                  $this->{$key} = $value;
              }
          }
          return $this;
      }
code_tokens: private function parse ( ) { $ this -> parameters = [ ] ; $ this -> pathSegments = [ ] ; $ parsedUrl = parse_url ( $ this -> returnValue ) ; foreach ( $ parsedUrl as $ key => $ value ) { if ( $ key == 'query' ) { parse_str ( $ value , $ this -> parameters ) ; } elseif ( $ key == 'path' ) { $ this -> pathSegments = ( $ value ) ? explode ( '/' , ltrim ( $ value , '/' ) ) : [ ] ; } else { $ this -> { $ key } = $ value ; } } return $ this ; }
docstring: Parses the current returnValue and fills this objects properties
  
  @return $this
docstring_tokens: Parses the current returnValue and fills this objects properties