public function safeAttributes() { return array_merge(parent::safeAttributes(), self::attributes()); }
/** * Returns the list of all safeattribute names of token. * @return array list of attribute names. */ public function safeAttributes() { return array_merge(parent::safeAttributes(), ['accessToken', 'expireTime', 'userId', 'accountId', 'role', 'language', 'enabledMods']); }
/** * Returns the list of all safeattribute names of token. * @return array list of attribute names. */ public function safeAttributes() { return array_merge(parent::safeAttributes(), ['accountId', 'articles', 'usedCount', 'type']); }