Exemplo n.º 1
0
 /** Find if current collection has keys \param keys
  *	\param	$keys collection
  *	\return bool
  */
 public function has_keys(collection $keys)
 {
     return \count($keys->ref_stack()) === count(\array_intersect(\array_keys($this->ref_stack()), $keys->ref_stack()));
 }