From a1011a67eb9a10ad57ee30fe5ff082b0f25a7f50 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Sat, 9 Jul 2016 09:02:25 +0200 Subject: [PATCH] Created files for common API operations. --- src/engine/Api/V1/Filter.php | 18 ++++++++++++++++++ src/engine/Api/V1/Minimize.php | 18 ++++++++++++++++++ src/engine/Api/V1/Search.php | 18 ++++++++++++++++++ src/engine/Api/V1/Sort.php | 18 ++++++++++++++++++ test/php/engine/Api/V1/FilterTest.php | 0 test/php/engine/Api/V1/MinimizeTest.php | 20 ++++++++++++++++++++ test/php/engine/Api/V1/SearchTest.php | 20 ++++++++++++++++++++ test/php/engine/Api/V1/SortTest.php | 0 8 files changed, 112 insertions(+) create mode 100644 src/engine/Api/V1/Filter.php create mode 100644 src/engine/Api/V1/Minimize.php create mode 100644 src/engine/Api/V1/Search.php create mode 100644 src/engine/Api/V1/Sort.php create mode 100644 test/php/engine/Api/V1/FilterTest.php create mode 100644 test/php/engine/Api/V1/MinimizeTest.php create mode 100644 test/php/engine/Api/V1/SearchTest.php create mode 100644 test/php/engine/Api/V1/SortTest.php diff --git a/src/engine/Api/V1/Filter.php b/src/engine/Api/V1/Filter.php new file mode 100644 index 00000000..d2611b7d --- /dev/null +++ b/src/engine/Api/V1/Filter.php @@ -0,0 +1,18 @@ + + * @copyright Copyright (c) 2013 - 2016, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.2.0 + * ---------------------------------------------------------------------------- */ + +namespace \EA\Engine\Api\V1; + +class Response { + +} diff --git a/src/engine/Api/V1/Minimize.php b/src/engine/Api/V1/Minimize.php new file mode 100644 index 00000000..d2611b7d --- /dev/null +++ b/src/engine/Api/V1/Minimize.php @@ -0,0 +1,18 @@ + + * @copyright Copyright (c) 2013 - 2016, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.2.0 + * ---------------------------------------------------------------------------- */ + +namespace \EA\Engine\Api\V1; + +class Response { + +} diff --git a/src/engine/Api/V1/Search.php b/src/engine/Api/V1/Search.php new file mode 100644 index 00000000..d2611b7d --- /dev/null +++ b/src/engine/Api/V1/Search.php @@ -0,0 +1,18 @@ + + * @copyright Copyright (c) 2013 - 2016, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.2.0 + * ---------------------------------------------------------------------------- */ + +namespace \EA\Engine\Api\V1; + +class Response { + +} diff --git a/src/engine/Api/V1/Sort.php b/src/engine/Api/V1/Sort.php new file mode 100644 index 00000000..d2611b7d --- /dev/null +++ b/src/engine/Api/V1/Sort.php @@ -0,0 +1,18 @@ + + * @copyright Copyright (c) 2013 - 2016, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.2.0 + * ---------------------------------------------------------------------------- */ + +namespace \EA\Engine\Api\V1; + +class Response { + +} diff --git a/test/php/engine/Api/V1/FilterTest.php b/test/php/engine/Api/V1/FilterTest.php new file mode 100644 index 00000000..e69de29b diff --git a/test/php/engine/Api/V1/MinimizeTest.php b/test/php/engine/Api/V1/MinimizeTest.php new file mode 100644 index 00000000..7878b5b4 --- /dev/null +++ b/test/php/engine/Api/V1/MinimizeTest.php @@ -0,0 +1,20 @@ + + * @copyright Copyright (c) 2013 - 2016, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.2.0 + * ---------------------------------------------------------------------------- */ + +namespace \EA\Engine\Api\V1; + +use PHPUnit\Framework\TestCase; + +class AuthorizationTest extends \TestCase { + +} diff --git a/test/php/engine/Api/V1/SearchTest.php b/test/php/engine/Api/V1/SearchTest.php new file mode 100644 index 00000000..7878b5b4 --- /dev/null +++ b/test/php/engine/Api/V1/SearchTest.php @@ -0,0 +1,20 @@ + + * @copyright Copyright (c) 2013 - 2016, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.2.0 + * ---------------------------------------------------------------------------- */ + +namespace \EA\Engine\Api\V1; + +use PHPUnit\Framework\TestCase; + +class AuthorizationTest extends \TestCase { + +} diff --git a/test/php/engine/Api/V1/SortTest.php b/test/php/engine/Api/V1/SortTest.php new file mode 100644 index 00000000..e69de29b