In the event you’re in a parent / base class, __CLASS__ will return the parent / base class name which is not desired. In that event you can use get_class():
In Laravel 5 CLASS was returning namespace and class name, so it was a large string. So this is how you get current Class without all that other stuff:
echo (new \ReflectionClass($this))->getShortName();