Adapter/PlentymarketsAdapter/ResponseParser/Order/OrderResponseParser.php
private function getOrdernumber(array $entry)
    {
        $property = array_filter($entry['properties'], function (array $property) {
            return $property['typeId'] === 7;
        });

        if (!empty($property)) {
            $property = array_shift($property);

            return $property['value'];
        }

        return null;
    }
private function getOrdernumber(array $entry)
    {
        $property = array_filter($entry['properties'], function (array $property) {
            return $property['typeId'] === 7;
        });

        if (!empty($property)) {
            $property = array_shift($property);

            return $property['value'];
        }

        return null;
    }
private function getOrdernumber ( array $ entry ) { $ property = array_filter ( $ entry [ 'properties' ] , function ( array $ property ) { return $ property [ 'typeId' ] === 7 ; } ) ; if ( ! empty ( $ property ) ) { $ property = array_shift ( $ property ) ; return $ property [ 'value' ] ; } return null ; }
@param array $entry

@return null|string
@param array $entry