Jake Vanderwerf
2026-04-15 c4aa5cdb5e90ad4b420e22772797d16980232a2b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
namespace JVBase\managers\SEO\render\Traits\_Helpers;
 
if (!defined('ABSPATH')) {
    exit;
}
trait enumerationHelper {
    public function checkEnumArray(array $toCheck, string $property, mixed $class):array
    {
        if (!property_exists($class, $property)) {
            error_log('[enumHelper]::checkEnumArray - invalid property of class: '.$property.', '.print_r($class, true));
            return [];
        }
        $toCheck = array_map(function($check) use ($property, $class){
 
        }, $toCheck);
    }
}