src/FeedItem.php
public function build()
    {
        return array_filter(
            $this->flatMap($this->acceptedProperties, function ($property) {
                return [$property => $this->getValueForProperty($property)];
            })
        );
    }
public function build()
    {
        return array_filter(
            $this->flatMap($this->acceptedProperties, function ($property) {
                return [$property => $this->getValueForProperty($property)];
            })
        );
    }
public function build ( ) { return array_filter ( $ this -> flatMap ( $ this -> acceptedProperties , function ( $ property ) { return [ $ property => $ this -> getValueForProperty ( $ property ) ] ; } ) ) ; }
Builds the structure of the feed item

@return array
Builds the structure of the feed item