public function load( $loader ) {
		if ( ! empty( $this->configs['libraryDir'] ) ) {
			$library = $this->configs['libraryDir'] . 'src/Library';

			// Only create a single instance of the BoldGrid Library Start.
			if ( did_action( 'Boldgrid\Library\Library\Start' ) === 0 ) {
				do_action( 'Boldgrid\Library\Library\Start', $library );

				// Check dir and add PSR-4 dir of the BoldGrid Library to autoload.
				if ( is_dir( $library ) ) {
					$loader->addPsr4( 'Boldgrid\\Library\\Library\\', $library );
					$load = new \Boldgrid\Library\Library\Start( $this->configs );
					$load->init();
				}
			}
		}
	}
public function load( $loader ) {
		if ( ! empty( $this->configs['libraryDir'] ) ) {
			$library = $this->configs['libraryDir'] . 'src/Library';

			// Only create a single instance of the BoldGrid Library Start.
			if ( did_action( 'Boldgrid\Library\Library\Start' ) === 0 ) {
				do_action( 'Boldgrid\Library\Library\Start', $library );

				// Check dir and add PSR-4 dir of the BoldGrid Library to autoload.
				if ( is_dir( $library ) ) {
					$loader->addPsr4( 'Boldgrid\\Library\\Library\\', $library );
					$load = new \Boldgrid\Library\Library\Start( $this->configs );
					$load->init();
				}
			}
		}
	}
public function load ( $ loader ) { if ( ! empty ( $ this -> configs [ 'libraryDir' ] ) ) { $ library = $ this -> configs [ 'libraryDir' ] . 'src/Library' ; // Only create a single instance of the BoldGrid Library Start. if ( did_action ( 'Boldgrid\Library\Library\Start' ) === 0 ) { do_action ( 'Boldgrid\Library\Library\Start' , $ library ) ; // Check dir and add PSR-4 dir of the BoldGrid Library to autoload. if ( is_dir ( $ library ) ) { $ loader -> addPsr4 ( 'Boldgrid\\Library\\Library\\' , $ library ) ; $ load = new \ Boldgrid \ Library \ Library \ Start ( $ this -> configs ) ; $ load -> init ( ) ; } } } }
Adds the Library paths to the autoloader.

@since  1.0.0

@param  object $loader Autoloader instance.

@return null
Adds the Library paths to the autoloader .