addRule('number', [ 'type' => self::TYPE_STRING, 'description' => 'Mock phone number for testing.', 'default' => '', 'example' => '+1612842323', ]) ->addRule('otp', [ 'type' => self::TYPE_STRING, 'description' => 'Mock OTP for the number. ', 'default' => '', 'example' => '123456', ]) ; } /** * Get Name *oj * @return string */ public function getName(): string { return 'Mock Number'; } /** * Get Type * * @return string */ public function getType(): string { return Response::MODEL_MOCK_NUMBER; } }