Redaxscript\Hook::getModuleArray PHP Метод

getModuleArray() публичный статический Метод

get the module array
С версии: 2.2.0
public static getModuleArray ( ) : array
Результат array
    public static function getModuleArray()
    {
        return self::$_moduleArray;
    }

Usage Example

Пример #1
0
 /**
  * testGetModuleArray
  *
  * @since 2.4.0
  */
 public function testGetModuleArray()
 {
     /* setup */
     Hook::construct($this->_registry);
     Hook::init();
     /* actual */
     $actualArray = Hook::getModuleArray();
     /* compare */
     $this->assertArrayHasKey('TestDummy', $actualArray);
 }
All Usage Examples Of Redaxscript\Hook::getModuleArray