public function getAcceptedTypes()
    {
        return $this->getCachedProperty(
            'accept',
            function () {
                $result = [];
                /** @var \DOMNodeList $nodes */
                // No REQUIRED — no exception.
                $nodes = $this->query('app:accept');
                foreach ($nodes as $value) {
                    $result[] = trim($value->textContent);
                }

                return $result;
            }
        );
    }
public function getAcceptedTypes()
    {
        return $this->getCachedProperty(
            'accept',
            function () {
                $result = [];
                /** @var \DOMNodeList $nodes */
                // No REQUIRED — no exception.
                $nodes = $this->query('app:accept');
                foreach ($nodes as $value) {
                    $result[] = trim($value->textContent);
                }

                return $result;
            }
        );
    }
public function getAcceptedTypes ( ) { return $ this -> getCachedProperty ( 'accept' , function ( ) { $ result = [ ] ; /** @var \DOMNodeList $nodes */ // No REQUIRED — no exception. $ nodes = $ this -> query ( 'app:accept' ) ; foreach ( $ nodes as $ value ) { $ result [ ] = trim ( $ value -> textContent ) ; } return $ result ; } ) ; }
Return types of representations accepted by the Collection.

@return string[]

@since 1.0
Return types of representations accepted by the Collection .