public function attributeHints()
    {
        if (isset(static::$attributeHintsList[static::class]) === false) {
            static::$attributeHintsList[static::class] = isset($this->attributeHints) === true
                ? $this->attributeHints
                : [];
            foreach (static::getTraits() as $name) {
                if (null !== $attributeHints = $this->callTraitMethod($name, 'AttributeHints')) {
                    static::$attributeHintsList[static::class] = ArrayHelper::merge(
                        static::$attributeHintsList[static::class],
                        $attributeHints
                    );
                }
            }
        }
        return static::$attributeHintsList[static::class];
    }
public function attributeHints()
    {
        if (isset(static::$attributeHintsList[static::class]) === false) {
            static::$attributeHintsList[static::class] = isset($this->attributeHints) === true
                ? $this->attributeHints
                : [];
            foreach (static::getTraits() as $name) {
                if (null !== $attributeHints = $this->callTraitMethod($name, 'AttributeHints')) {
                    static::$attributeHintsList[static::class] = ArrayHelper::merge(
                        static::$attributeHintsList[static::class],
                        $attributeHints
                    );
                }
            }
        }
        return static::$attributeHintsList[static::class];
    }
public function attributeHints ( ) { if ( isset ( static :: $ attributeHintsList [ static :: class ] ) === false ) { static :: $ attributeHintsList [ static :: class ] = isset ( $ this -> attributeHints ) === true ? $ this -> attributeHints : [ ] ; foreach ( static :: getTraits ( ) as $ name ) { if ( null !== $ attributeHints = $ this -> callTraitMethod ( $ name , 'AttributeHints' ) ) { static :: $ attributeHintsList [ static :: class ] = ArrayHelper :: merge ( static :: $ attributeHintsList [ static :: class ] , $ attributeHints ) ; } } } return static :: $ attributeHintsList [ static :: class ] ; }
Get all attribute hints.
This method merges a model attributeHints with attribute hints of all used traits.
@return array
Get all attribute hints . This method merges a model attributeHints with attribute hints of all used traits .