public static function fullJoinWithout(TimeSlot $a, TimeSlot $b) {

        // Initialize the time slots.
        $leftJoins  = static::leftJoinWithout($a, $b);
        $rightJoins = static::rightJoinWithout($a, $b);

        // Check the time slots.
        if (null === $leftJoins && null === $rightJoins) {
            return null;
        }
        if (null === $leftJoins) {
            return $rightJoins;
        }
        if (null === $rightJoins) {
            return $leftJoins;
        }

        // Return the time slots.
        return static::sort(array_merge($leftJoins, $rightJoins));
    }
public static function fullJoinWithout(TimeSlot $a, TimeSlot $b) {

        // Initialize the time slots.
        $leftJoins  = static::leftJoinWithout($a, $b);
        $rightJoins = static::rightJoinWithout($a, $b);

        // Check the time slots.
        if (null === $leftJoins && null === $rightJoins) {
            return null;
        }
        if (null === $leftJoins) {
            return $rightJoins;
        }
        if (null === $rightJoins) {
            return $leftJoins;
        }

        // Return the time slots.
        return static::sort(array_merge($leftJoins, $rightJoins));
    }
public static function fullJoinWithout ( TimeSlot $ a , TimeSlot $ b ) { // Initialize the time slots. $ leftJoins = static :: leftJoinWithout ( $ a , $ b ) ; $ rightJoins = static :: rightJoinWithout ( $ a , $ b ) ; // Check the time slots. if ( null === $ leftJoins && null === $ rightJoins ) { return null ; } if ( null === $ leftJoins ) { return $ rightJoins ; } if ( null === $ rightJoins ) { return $ leftJoins ; } // Return the time slots. return static :: sort ( array_merge ( $ leftJoins , $ rightJoins ) ) ; }
Full join two time slots without time slots intersection.

@param TimeSlot $a The time slot A.
@param TimeSlot $b The time slot B.
@return TimeSlot[] Returns the time slots in case of success, null otherwise.
Full join two time slots without time slots intersection .