Redaxscript\Hook::getModuleArray PHP Method

getModuleArray() public static method

get the module array
Since: 2.2.0
public static getModuleArray ( ) : array
return array
    public static function getModuleArray()
    {
        return self::$_moduleArray;
    }

Usage Example

Ejemplo n.º 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