protected function hasTranslatableTrait($class)
    {
        $translatable = config('cms-models.analyzer.traits.translatable', []);

        if ( ! count($translatable)) {
            // @codeCoverageIgnoreStart
            return false;
            // @codeCoverageIgnoreEnd
        }

        return (bool) count(array_intersect($this->classUsesDeep($class), $translatable));
    }
protected function hasTranslatableTrait($class)
    {
        $translatable = config('cms-models.analyzer.traits.translatable', []);

        if ( ! count($translatable)) {
            // @codeCoverageIgnoreStart
            return false;
            // @codeCoverageIgnoreEnd
        }

        return (bool) count(array_intersect($this->classUsesDeep($class), $translatable));
    }
protected function hasTranslatableTrait ( $ class ) { $ translatable = config ( 'cms-models.analyzer.traits.translatable' , [ ] ) ; if ( ! count ( $ translatable ) ) { // @codeCoverageIgnoreStart return false ; // @codeCoverageIgnoreEnd } return ( bool ) count ( array_intersect ( $ this -> classUsesDeep ( $ class ) , $ translatable ) ) ; }
Returns whether a class has the translatable trait.

@param mixed $class
@return bool
Returns whether a class has the translatable trait .