src/Admin/Model/DoctrineRestServiceModel.php
/**
     * Update Doctrine configuration
     *
     * @param DoctrineRestServiceEntity $original
     * @param DoctrineRestServiceEntity $update
     */
Update Doctrine configuration
@param DoctrineRestServiceEntity $original
@param DoctrineRestServiceEntity $update
Update Doctrine configuration @param DoctrineRestServiceEntity $original @param DoctrineRestServiceEntity $update
public function updateDoctrineConfig(DoctrineRestServiceEntity $original, DoctrineRestServiceEntity $update)
    {
        $patch                   = [];
        $patch['object_manager'] = $update->objectManager;
        $patch['hydrator']       = $update->hydratorName;
        $basekey                 = 'zf-apigility.doctrine-connected.';
        $resource                = $update->resourceClass;
        $this->configResource->patchKey($basekey . $resource, $patch);
    }
public function updateDoctrineConfig ( DoctrineRestServiceEntity $ original , DoctrineRestServiceEntity $ update ) { $ patch = [ ] ; $ patch [ 'object_manager' ] = $ update -> objectManager ; $ patch [ 'hydrator' ] = $ update -> hydratorName ; $ basekey = 'zf-apigility.doctrine-connected.' ; $ resource = $ update -> resourceClass ; $ this -> configResource -> patchKey ( $ basekey . $ resource , $ patch ) ; }
Update Doctrine configuration
 @param DoctrineRestServiceEntity $original
 @param DoctrineRestServiceEntity $update
Update Doctrine configuration @param DoctrineRestServiceEntity $original @param DoctrineRestServiceEntity $update