original_string: public function getAcceptableContentTypes()
      {
          if (null !== $this->acceptableContentTypes) {
              return $this->acceptableContentTypes;
          }
  
          return $this->acceptableContentTypes = array_keys(AcceptHeader::fromString($this->headers->get('Accept'))->all());
      }
code: public function getAcceptableContentTypes()
      {
          if (null !== $this->acceptableContentTypes) {
              return $this->acceptableContentTypes;
          }
  
          return $this->acceptableContentTypes = array_keys(AcceptHeader::fromString($this->headers->get('Accept'))->all());
      }
code_tokens: public function getAcceptableContentTypes ( ) { if ( null !== $ this -> acceptableContentTypes ) { return $ this -> acceptableContentTypes ; } return $ this -> acceptableContentTypes = array_keys ( AcceptHeader :: fromString ( $ this -> headers -> get ( 'Accept' ) ) -> all ( ) ) ; }
docstring: Gets a list of content types acceptable by the client browser.
  
  @return array List of content types in preferable order
docstring_tokens: Gets a list of content types acceptable by the client browser .