public function reverseMap($data): SectionUpdateStruct
    {
        if (!$data instanceof SectionUpdateData) {
            throw new InvalidArgumentException('data', 'must be an instance of ' . SectionUpdateData::class);
        }

        return new SectionUpdateStruct([
            'name' => $data->getName(),
            'identifier' => $data->getIdentifier(),
        ]);
    }
public function reverseMap($data): SectionUpdateStruct
    {
        if (!$data instanceof SectionUpdateData) {
            throw new InvalidArgumentException('data', 'must be an instance of ' . SectionUpdateData::class);
        }

        return new SectionUpdateStruct([
            'name' => $data->getName(),
            'identifier' => $data->getIdentifier(),
        ]);
    }
public function reverseMap ( $ data ) : SectionUpdateStruct { if ( ! $ data instanceof SectionUpdateData ) { throw new InvalidArgumentException ( 'data' , 'must be an instance of ' . SectionUpdateData :: class ) ; } return new SectionUpdateStruct ( [ 'name' => $ data -> getName ( ) , 'identifier' => $ data -> getIdentifier ( ) , ] ) ; }
Maps given SectionUpdateData object to a SectionUpdateStruct object.

@param SectionUpdateData $data

@return SectionUpdateStruct

@throws InvalidArgumentException
Maps given SectionUpdateData object to a SectionUpdateStruct object .