public function load()
    {
        $output = [];
        $args = func_get_args();
        foreach( $args as $arg ) {
            if( is_array($arg) ) {
                $output = array_merge(
                    call_user_func_array( [$this, 'load'], $arg ),
                    $output
                );
            } else {
                $this->loadHandler($arg);
                $output[] = $arg;
            }
        }
        return $output;
    }
public function load()
    {
        $output = [];
        $args = func_get_args();
        foreach( $args as $arg ) {
            if( is_array($arg) ) {
                $output = array_merge(
                    call_user_func_array( [$this, 'load'], $arg ),
                    $output
                );
            } else {
                $this->loadHandler($arg);
                $output[] = $arg;
            }
        }
        return $output;
    }
public function load ( ) { $ output = [ ] ; $ args = func_get_args ( ) ; foreach ( $ args as $ arg ) { if ( is_array ( $ arg ) ) { $ output = array_merge ( call_user_func_array ( [ $ this , 'load' ] , $ arg ) , $ output ) ; } else { $ this -> loadHandler ( $ arg ) ; $ output [ ] = $ arg ; } } return $ output ; }
Load a collection of assets into the Di container.
Provides a whole load of syntatic sugar so you can basically pass this a combination of arrays, assets, multiple args, ... whatever
The actual work is done by loadHandler
@return mixed[]. Array of the individual assets loaded.
Load a collection of assets into the Di container . Provides a whole load of syntatic sugar so you can basically pass this a combination of arrays assets multiple args ... whatever The actual work is done by loadHandler