src/helpers/QueryHelper.php
public static function parseBaseParam(&$value, &$join): bool
    {
        // Force array
        if (!is_array($value)) {
            $value = [$value];
        }

        // Get join type ('and' , 'or')
        $join = self::getJoinType($value, $join);

        // Check for object array (via 'id' key)
        if ($id = self::findIdFromObjectArray($value)) {
            $value = [$id];
            return true;
        }

        return false;
    }
public static function parseBaseParam(&$value, &$join): bool
    {
        // Force array
        if (!is_array($value)) {
            $value = [$value];
        }

        // Get join type ('and' , 'or')
        $join = self::getJoinType($value, $join);

        // Check for object array (via 'id' key)
        if ($id = self::findIdFromObjectArray($value)) {
            $value = [$id];
            return true;
        }

        return false;
    }
public static function parseBaseParam ( & $ value , & $ join ) : bool { // Force array if ( ! is_array ( $ value ) ) { $ value = [ $ value ] ; } // Get join type ('and' , 'or') $ join = self :: getJoinType ( $ value , $ join ) ; // Check for object array (via 'id' key) if ( $ id = self :: findIdFromObjectArray ( $ value ) ) { $ value = [ $ id ] ; return true ; } return false ; }
Standard param parsing.

@param $value
@param $join
@return bool

@deprecated
Standard param parsing .