Esempio n. 1
0
 /**
  * @param mixed $key
  *
  * @return bool
  */
 private function isValidKeyType($key)
 {
     return TypeHelper::isOfType($key, $this->keyType);
 }
Esempio n. 2
0
 /**
  * @param mixed $element
  *
  * @return bool
  */
 private function isValidType($element)
 {
     return TypeHelper::isOfType($element, $this->type);
 }