public function deleteObject($o)
    {
        if (\PHPDaemon\Core\Daemon::$config->logevents->value) {
            \PHPDaemon\Core\Daemon::log(__METHOD__ . '(' . json_encode($o) . ')');
        }

        $this->cache->get('_id.' . ((string)$o['_id']),
            function ($mc) use ($o) {
                if (is_string($m->result)) {
                    $mc->delete($m->result);
                    $mc->delete('_id.' . $o['_id']);
                }
            }
        );
    }
public function deleteObject($o)
    {
        if (\PHPDaemon\Core\Daemon::$config->logevents->value) {
            \PHPDaemon\Core\Daemon::log(__METHOD__ . '(' . json_encode($o) . ')');
        }

        $this->cache->get('_id.' . ((string)$o['_id']),
            function ($mc) use ($o) {
                if (is_string($m->result)) {
                    $mc->delete($m->result);
                    $mc->delete('_id.' . $o['_id']);
                }
            }
        );
    }
public function deleteObject ( $ o ) { if ( \ PHPDaemon \ Core \ Daemon :: $ config -> logevents -> value ) { \ PHPDaemon \ Core \ Daemon :: log ( __METHOD__ . '(' . json_encode ( $ o ) . ')' ) ; } $ this -> cache -> get ( '_id.' . ( ( string ) $ o [ '_id' ] ) , function ( $ mc ) use ( $ o ) { if ( is_string ( $ m -> result ) ) { $ mc -> delete ( $ m -> result ) ; $ mc -> delete ( '_id.' . $ o [ '_id' ] ) ; } } ) ; }
Method called when object deleted.
@param object Object.
@return void
Method called when object deleted .