Sindbad~EG File Manager

Current Path : /home/nicedoo/www/wp-content/plugins/flexible-checkout-fields/src/Settings/Route/
Upload File :
Current File : /home/nicedoo/www/wp-content/plugins/flexible-checkout-fields/src/Settings/Route/RouteAbstract.php

<?php

namespace WPDesk\FCF\Free\Settings\Route;

/**
 * {@inheritdoc}
 */
abstract class RouteAbstract implements RouteInterface {

	/**
	 * {@inheritdoc}
	 */
	public function get_route_methods(): array {
		return [ 'POST' ];
	}

	/**
	 * {@inheritdoc}
	 */
	public function get_route_params(): array {
		return [
			'form_values'     => [
				'description' => 'Form values',
				'required'    => true,
				'default'     => [],
			],
			'form_field_name' => [
				'description' => 'Key of field',
				'required'    => true,
				'default'     => '',
			],
			'form_section'    => [
				'description' => 'Section name',
				'required'    => true,
				'default'     => '',
			],
			'form_fields'     => [
				'description' => 'Form fields',
				'required'    => true,
				'default'     => [],
			],
		];
	}
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists