src/Core/LTIX.php
private static function patchNeeded($needed) {
        if ( $needed == self::NONE ) $needed = array();
        if ( $needed == self::ALL ) {
            $needed = array(self::CONTEXT, self::LINK, self::USER);
        }
        if ( is_string($needed) ) $needed = array($needed);
        return $needed;
    }
private static function patchNeeded($needed) {
        if ( $needed == self::NONE ) $needed = array();
        if ( $needed == self::ALL ) {
            $needed = array(self::CONTEXT, self::LINK, self::USER);
        }
        if ( is_string($needed) ) $needed = array($needed);
        return $needed;
    }
private static function patchNeeded ( $ needed ) { if ( $ needed == self :: NONE ) $ needed = array ( ) ; if ( $ needed == self :: ALL ) { $ needed = array ( self :: CONTEXT , self :: LINK , self :: USER ) ; } if ( is_string ( $ needed ) ) $ needed = array ( $ needed ) ; return $ needed ; }
Patch the value for the list of needed features

Note - causes no harm if called more than once.
Patch the value for the list of needed features