src/traits/EntityTrait.php
protected static function getTraits()
    {
        if (isset(static::$traitsList[static::class]) === false) {
            $className = static::class;
            static::$traitsList[static::class] = [];
            do {
                foreach (class_uses($className) as $value) {
                    static::$traitsList[static::class][$value] = StringHelper::basename($value);
                }
                $className = get_parent_class($className);
            } while ($className !== false);
        }
        return static::$traitsList[static::class];
    }
protected static function getTraits()
    {
        if (isset(static::$traitsList[static::class]) === false) {
            $className = static::class;
            static::$traitsList[static::class] = [];
            do {
                foreach (class_uses($className) as $value) {
                    static::$traitsList[static::class][$value] = StringHelper::basename($value);
                }
                $className = get_parent_class($className);
            } while ($className !== false);
        }
        return static::$traitsList[static::class];
    }
Get all traits that uses for model
@return mixed