public static getEventArray ( ) : array | ||
Результат | array |
public static function getEventArray()
{
return self::$_eventArray;
}
/** * 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); }