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

        // Has inner join ?
        if (false === static::hasInnerJoin($a, $b)) {
            return null;
        }

        // Return the time slot.
        return new TimeSlot(clone $a->getStartDate(), clone $a->getEndDate());
    }
public static function leftJoin(TimeSlot $a, TimeSlot $b) {

        // Has inner join ?
        if (false === static::hasInnerJoin($a, $b)) {
            return null;
        }

        // Return the time slot.
        return new TimeSlot(clone $a->getStartDate(), clone $a->getEndDate());
    }
public static function leftJoin ( TimeSlot $ a , TimeSlot $ b ) { // Has inner join ? if ( false === static :: hasInnerJoin ( $ a , $ b ) ) { return null ; } // Return the time slot. return new TimeSlot ( clone $ a -> getStartDate ( ) , clone $ a -> getEndDate ( ) ) ; }
Left join two time slots.

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