getEventArray() public static method

get the event array
Since: 3.0.0
public static getEventArray ( ) : array
return array
示例#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);
 }