public function detach($objects)
    {
        $backupAutoFlush = $this->autoFlush;

        $this->autoFlush = false;
        $this->runManagerAction('detach', $objects, false);

        $this->autoFlush = $backupAutoFlush;
    }
public function detach($objects)
    {
        $backupAutoFlush = $this->autoFlush;

        $this->autoFlush = false;
        $this->runManagerAction('detach', $objects, false);

        $this->autoFlush = $backupAutoFlush;
    }
public function detach ( $ objects ) { $ backupAutoFlush = $ this -> autoFlush ; $ this -> autoFlush = false ; $ this -> runManagerAction ( 'detach' , $ objects , false ) ; $ this -> autoFlush = $ backupAutoFlush ; }
Detach objects.

@param object|iterable $objects

@throws \InvalidArgumentException
Detach objects .