/** * @param array $allowed_attributes */ public static function setAllowedAttributes($allowed_attributes) { self::$allowed_attributes = $allowed_attributes; }