_mock_set_fetch() public method

public _mock_set_fetch ( string $result ) : MockPDOStatement
$result string
return MockPDOStatement
コード例 #1
0
ファイル: MockPDO.php プロジェクト: arvenil/ninja-mutex
 /**
  * @param  string           $key
  * @return 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");
 }