Nextras\Orm\Repository\Repository::doClearIdentityMap PHP Метод

doClearIdentityMap() публичный Метод

public doClearIdentityMap ( $areYouSure = null )
    public function doClearIdentityMap($areYouSure = null)
    {
        if ($areYouSure !== IModel::I_KNOW_WHAT_I_AM_DOING) {
            throw new LogicException('Do not call this method directly. Use IModel::clearIdentityMapAndCaches().');
        }
        $this->identityMap->destroyAllEntities();
        $this->mapper->clearCollectionCache();
    }