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

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

get the event array
С версии: 3.0.0
public static getEventArray ( ) : array
Результат array
    public static function getEventArray()
    {
        return self::$_eventArray;
    }

Usage Example

Пример #1
0
 /**
  * testGetEventArray
  *
  * @since 2.4.0
  */
 public function testGetEventArray()
 {
     /* setup */
     Hook::construct($this->_registry);
     Hook::init();
     Hook::trigger('render');
     /* actual */
     $actualArray = Hook::getEventArray();
     /* compare */
     $this->assertArrayHasKey('render', $actualArray);
 }