isIterable() public static method

Returns whether the value is iterable
public static isIterable ( mixed $value ) : boolean
$value mixed The value
return boolean Whether the value is iterable
コード例 #1
0
ファイル: Repository.php プロジェクト: timetoogo/pinq
 public function removeRange($values)
 {
     if (!Utilities::isIterable($values)) {
         throw PinqException::invalidIterable(__METHOD__, $values);
     }
     $this->executeQuery($this->newMethod(__FUNCTION__, [$values]));
 }