private static function filterArray($needle, $heystack, $always = array()) { return array_intersect(array_merge($needle, $always), $heystack); }