concrete/src/Http/RequestMediaTypeParser.php
public function getRequestAcceptMap()
    {
        if ($this->requestAcceptMap === null) {
            $requestAccept = $this->getRequestAccept();
            $requestAcceptMap = $this->parseRequestAccept($requestAccept);
            $requestAcceptMap = $this->sortRequestAcceptMap($requestAcceptMap);
            $this->requestAcceptMap = $requestAcceptMap;
        }

        return $this->requestAcceptMap;
    }
public function getRequestAcceptMap()
    {
        if ($this->requestAcceptMap === null) {
            $requestAccept = $this->getRequestAccept();
            $requestAcceptMap = $this->parseRequestAccept($requestAccept);
            $requestAcceptMap = $this->sortRequestAcceptMap($requestAcceptMap);
            $this->requestAcceptMap = $requestAcceptMap;
        }

        return $this->requestAcceptMap;
    }
public function getRequestAcceptMap ( ) { if ( $ this -> requestAcceptMap === null ) { $ requestAccept = $ this -> getRequestAccept ( ) ; $ requestAcceptMap = $ this -> parseRequestAccept ( $ requestAccept ) ; $ requestAcceptMap = $ this -> sortRequestAcceptMap ( $ requestAcceptMap ) ; $ this -> requestAcceptMap = $ requestAcceptMap ; } return $ this -> requestAcceptMap ; }
Get the data extracted from the 'Accept' header.

@return array keys are the media type; values are the associated data, sorted by the preferred type (the 'q' parameter)

@example <code>['image/png' => ['q' => 1.0], 'image/*' => ['q' => 0.8]]
Get the data extracted from the Accept header .