You are here

class MobileNumberAutoload in Mobile Number 7

Mobile number autoload.

Hierarchy

Expanded class hierarchy of MobileNumberAutoload

File

include/mobile_number.libphonenumber.inc, line 15
Mobile_number.libphonenumber.inc.

View source
class MobileNumberAutoload {

  /**
   * Load.
   */
  public static function load() {
    module_load_include('module', 'libraries');
    $classLoader = new ClassLoader();
    $classLoader
      ->set('libphonenumber', array(
      libraries_get_path('libphonenumber') . '/src',
    ));
    $classLoader
      ->setPsr4('libphonenumber\\', array(
      libraries_get_path('libphonenumber') . '/src',
    ));
    $classLoader
      ->register(TRUE);
    return $classLoader;
  }

}

Members