public function attributesToBeLogged() : array { if (!isset(static::$logAttributes)) { return []; } return static::$logAttributes; }