$object->getAccesstoken(), 'platform' => $object->getPlatform() ]; } /** * @return array */ protected function rules(): array { return [ 'access_token' => 'required', 'platform' => 'required' ]; } /** * @return array */ protected function messages(): array { return []; } }