private static function DatexPoorMansJaliliCalendar::filterArray in Datex 8
1 call to DatexPoorMansJaliliCalendar::filterArray()
File
- src/
Datex/ DatexPoorMansJaliliCalendar.php, line 159 - Fallback calendar implementation in case php-intl is not avaiable.
Class
- DatexPoorMansJaliliCalendar
- Jalali calendar for datex.
Namespace
Drupal\datex\DatexCode
private static function filterArray($needle, $heystack, $always = []) {
return array_intersect(array_merge($needle, $always), $heystack);
}