src/Common/Events/Base.php
public static function getEventNamespace()
    {
        $oComponent = Components::detectClassComponent(get_called_class());
        if (empty($oComponent)) {
            throw new NailsException('Could not detect class\' component');
        }
        return $oComponent->slug;
    }
public static function getEventNamespace()
    {
        $oComponent = Components::detectClassComponent(get_called_class());
        if (empty($oComponent)) {
            throw new NailsException('Could not detect class\' component');
        }
        return $oComponent->slug;
    }
public static function getEventNamespace ( ) { $ oComponent = Components :: detectClassComponent ( get_called_class ( ) ) ; if ( empty ( $ oComponent ) ) { throw new NailsException ( 'Could not detect class\' component' ) ; } return $ oComponent -> slug ; }
Calculates the event's namespace

@return string
@throws NailsException
@throws \ReflectionException
Calculates the event s namespace