src/Common/Events/Base.php
public static function info()
    {
        $oReflectionClass = new \ReflectionClass(get_called_class());
        static::parse($oReflectionClass);

        $aOut = [];
        foreach ($oReflectionClass->getConstants() as $sConstant => $sValue) {
            $aOut[$sConstant] = (object) [
                'constant'    => get_called_class() . '::' . $sConstant,
                'namespace'   => static::getEventNamespace(),
                'value'       => $sValue,
                'description' => ArrayHelper::getFromArray($sConstant, static::$aDescriptions),
                'arguments'   => ArrayHelper::getFromArray($sConstant, static::$aArguments),
            ];
        }

        return $aOut;
    }
public static function info()
    {
        $oReflectionClass = new \ReflectionClass(get_called_class());
        static::parse($oReflectionClass);

        $aOut = [];
        foreach ($oReflectionClass->getConstants() as $sConstant => $sValue) {
            $aOut[$sConstant] = (object) [
                'constant'    => get_called_class() . '::' . $sConstant,
                'namespace'   => static::getEventNamespace(),
                'value'       => $sValue,
                'description' => ArrayHelper::getFromArray($sConstant, static::$aDescriptions),
                'arguments'   => ArrayHelper::getFromArray($sConstant, static::$aArguments),
            ];
        }

        return $aOut;
    }
public static function info ( ) { $ oReflectionClass = new \ ReflectionClass ( get_called_class ( ) ) ; static :: parse ( $ oReflectionClass ) ; $ aOut = [ ] ; foreach ( $ oReflectionClass -> getConstants ( ) as $ sConstant => $ sValue ) { $ aOut [ $ sConstant ] = ( object ) [ 'constant' => get_called_class ( ) . '::' . $ sConstant , 'namespace' => static :: getEventNamespace ( ) , 'value' => $ sValue , 'description' => ArrayHelper :: getFromArray ( $ sConstant , static :: $ aDescriptions ) , 'arguments' => ArrayHelper :: getFromArray ( $ sConstant , static :: $ aArguments ) , ] ; } return $ aOut ; }
Returns an array of the available events with supporting information

@return array
Returns an array of the available events with supporting information