protected function callEvents($eventName)
    {
        foreach (static::getTraits() as $name) {
            if ($name === 'EntityTrait') {
                continue;
            }
            $this->callTraitMethod($name, $eventName);
        }
    }
protected function callEvents($eventName)
    {
        foreach (static::getTraits() as $name) {
            if ($name === 'EntityTrait') {
                continue;
            }
            $this->callTraitMethod($name, $eventName);
        }
    }
protected function callEvents ( $ eventName ) { foreach ( static :: getTraits ( ) as $ name ) { if ( $ name === 'EntityTrait' ) { continue ; } $ this -> callTraitMethod ( $ name , $ eventName ) ; } }
Call trait event methods.
@param string $eventName
Call trait event methods .