NinjaMutex\Tests\Mock\MockPDO::_mock_release_lock PHP Метод

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

protected _mock_release_lock ( string $key ) : MockPDOStatement
$key string
Результат MockPDOStatement
    protected function _mock_release_lock($key)
    {
        if (isset($this->current[$key])) {
            unset(self::$data[$key]);
            unset($this->current[$key]);
            return $this->_mock_pdo_statement->_mock_set_fetch("1");
        }
        return $this->_mock_pdo_statement->_mock_set_fetch("0");
    }