public function containsValues(array $needles): bool
    {
        return \count(\array_intersect($needles, $this->getArray()), \COUNT_NORMAL)
               ===
               \count($needles, \COUNT_NORMAL);
    }
public function containsValues(array $needles): bool
    {
        return \count(\array_intersect($needles, $this->getArray()), \COUNT_NORMAL)
               ===
               \count($needles, \COUNT_NORMAL);
    }
public function containsValues ( array $ needles ) : bool { return \ count ( \ array_intersect ( $ needles , $ this -> getArray ( ) ) , \ COUNT_NORMAL ) === \ count ( $ needles , \ COUNT_NORMAL ) ; }
Check if all given needles are present in the array.

@param array $needles

@return bool
<p>Returns true if all the given values exists in the array, false otherwise.</p>
Check if all given needles are present in the array .