public function register( $arr ) {
		// set error handler for catching file location errors
		set_error_handler( array( $this, 'silent_warning' ), E_WARNING );
		// determine how the structure works.
		foreach ( (array) $arr as $key => $value ) {
			$this->locations = array_merge_recursive( $this->locations, $this->get_files_from_folders( trailingslashit( $value ) ) );
		}

		// restore original handler
		restore_error_handler();
	}
public function register( $arr ) {
		// set error handler for catching file location errors
		set_error_handler( array( $this, 'silent_warning' ), E_WARNING );
		// determine how the structure works.
		foreach ( (array) $arr as $key => $value ) {
			$this->locations = array_merge_recursive( $this->locations, $this->get_files_from_folders( trailingslashit( $value ) ) );
		}

		// restore original handler
		restore_error_handler();
	}
public function register ( $ arr ) { // set error handler for catching file location errors set_error_handler ( array ( $ this , 'silent_warning' ) , E_WARNING ) ; // determine how the structure works. foreach ( ( array ) $ arr as $ key => $ value ) { $ this -> locations = array_merge_recursive ( $ this -> locations , $ this -> get_files_from_folders ( trailingslashit ( $ value ) ) ) ; } // restore original handler restore_error_handler ( ) ; }
Register the UIX object paths for autoloading

@since 1.0.0

@param array|string $arr path, or array of paths to structures to autoload
Register the UIX object paths for autoloading