offsetExists() public method

public offsetExists ( string | integer $key ) : Subject
$key string | integer
return Subject
コード例 #1
0
ファイル: ObjectBehavior.php プロジェクト: phpspec/phpspec
 /**
  * Checks if a key exists in case object implements ArrayAccess
  *
  * @param string|integer $key
  *
  * @return Subject
  */
 public function offsetExists($key)
 {
     return $this->object->offsetExists($key);
 }