yii\caching\DbCache::deleteValue PHP Метод

deleteValue() защищенный Метод

Deletes a value with the specified key from cache This is the implementation of the method declared in the parent class.
protected deleteValue ( string $key ) : boolean
$key string the key of the value to be deleted
Результат boolean if no error happens during deletion
    protected function deleteValue($key)
    {
        $this->db->createCommand()->delete($this->cacheTable, ['id' => $key])->execute();
        return true;
    }