protected function cleanLogEvent(string $event): string
    {
        if (($classes_pos = mb_strripos($event, '\\Classes\\')) !== false) {
            $event = mb_substr($event, $classes_pos + 9);
        } // This chops off `*\Classes\` from `__METHOD__`.
        $event = str_replace($this->App->namespace, '', $event);

        return $event = $this->c::mbTrim($event, '', '\\');
    }
protected function cleanLogEvent(string $event): string
    {
        if (($classes_pos = mb_strripos($event, '\\Classes\\')) !== false) {
            $event = mb_substr($event, $classes_pos + 9);
        } // This chops off `*\Classes\` from `__METHOD__`.
        $event = str_replace($this->App->namespace, '', $event);

        return $event = $this->c::mbTrim($event, '', '\\');
    }
protected function cleanLogEvent ( string $ event ) : string { if ( ( $ classes_pos = mb_strripos ( $ event , '\\Classes\\' ) ) !== false ) { $ event = mb_substr ( $ event , $ classes_pos + 9 ) ; } // This chops off `*\Classes\` from `__METHOD__`. $ event = str_replace ( $ this -> App -> namespace , '' , $ event ) ; return $ event = $ this -> c :: mbTrim ( $ event , '' , '\\' ) ; }
Cleans log event name.

@since 160522 Debugging utilities.

@param string $event Log event name.

@return string Cleaned log event name.
Cleans log event name .