specific * 'wpdb' => 'QM_DB', * ] * * @param array $aliases */ function alias( array $aliases ) { Container::alias( $aliases ); } } if( ! function_exists( 'delegate' ) ) { /** * This allows to delegate the object instantiation to a factory. * It can be any kind of callable (class or function). * * @param array $delegated [ $class_name => $instantiator ] */ function delegate( array $delegated ) { Container::delegate( $delegated ); } }