protected static function initAttributeSet() { $className = get_called_class(); if (!Attributes::attributesSetFor($className)) { Attributes::setClassAttributes($className, static::attributeSet()); } }