Lemon\RestBundle\Object\Envelope\FlattenedEnvelope::export PHP Method

export() public method

public export ( )
    public function export()
    {
        if ($this->payload instanceof SearchResults) {
            return $this->payload->getResults();
        } else {
            return $this->payload;
        }
    }
FlattenedEnvelope