Permalink
Browse files

Revert "Initial commit"

This reverts commit 88bb319.
  • Loading branch information...
1 parent 88bb319 commit 454d37a0376766d20f9dbf88240fecd06aa1b6be Ryan Thompson committed Sep 27, 2016
Showing with 4 additions and 2,919 deletions.
  1. +0 −1 addons/default/anomaly/orders-module/README.md
  2. +0 −9 addons/default/anomaly/orders-module/composer.json
  3. +0 −15 ...nomaly/orders-module/migrations/2016_09_27_185312_anomaly.module.orders__create_orders_fields.php
  4. +0 −24 ...nomaly/orders-module/migrations/2016_09_27_185320_anomaly.module.orders__create_orders_stream.php
  5. +0 −24 ...anomaly/orders-module/migrations/2016_09_27_185346_anomaly.module.orders__create_items_stream.php
  6. +0 −24 ...aly/orders-module/migrations/2016_09_27_185353_anomaly.module.orders__create_modifiers_stream.php
  7. +0 −7 addons/default/anomaly/orders-module/resources/lang/en/addon.php
  8. +0 −7 addons/default/anomaly/orders-module/resources/routes/items.php
  9. +0 −7 addons/default/anomaly/orders-module/resources/routes/modifiers.php
  10. +0 −7 addons/default/anomaly/orders-module/resources/routes/orders.php
  11. +0 −43 addons/default/anomaly/orders-module/src/Http/Controller/Admin/ItemsController.php
  12. +0 −43 addons/default/anomaly/orders-module/src/Http/Controller/Admin/ModifiersController.php
  13. +0 −43 addons/default/anomaly/orders-module/src/Http/Controller/Admin/OrdersController.php
  14. +0 −47 addons/default/anomaly/orders-module/src/Item/Command/DeleteModifiers.php
  15. +0 −97 addons/default/anomaly/orders-module/src/Item/Contract/ItemInterface.php
  16. +0 −8 addons/default/anomaly/orders-module/src/Item/Contract/ItemRepositoryInterface.php
  17. +0 −57 addons/default/anomaly/orders-module/src/Item/Form/ItemFormBuilder.php
  18. +0 −80 addons/default/anomaly/orders-module/src/Item/ItemCollection.php
  19. +0 −8 addons/default/anomaly/orders-module/src/Item/ItemCriteria.php
  20. +0 −151 addons/default/anomaly/orders-module/src/Item/ItemModel.php
  21. +0 −22 addons/default/anomaly/orders-module/src/Item/ItemObserver.php
  22. +0 −49 addons/default/anomaly/orders-module/src/Item/ItemPresenter.php
  23. +0 −32 addons/default/anomaly/orders-module/src/Item/ItemRepository.php
  24. +0 −14 addons/default/anomaly/orders-module/src/Item/ItemRouter.php
  25. +0 −61 addons/default/anomaly/orders-module/src/Item/Table/ItemTableBuilder.php
  26. +0 −71 addons/default/anomaly/orders-module/src/Modifier/Command/ApplyModifier.php
  27. +0 −61 addons/default/anomaly/orders-module/src/Modifier/Command/CalculateValue.php
  28. +0 −119 addons/default/anomaly/orders-module/src/Modifier/Contract/ModifierInterface.php
  29. +0 −8 addons/default/anomaly/orders-module/src/Modifier/Contract/ModifierRepositoryInterface.php
  30. +0 −57 addons/default/anomaly/orders-module/src/Modifier/Form/ModifierFormBuilder.php
  31. +0 −140 addons/default/anomaly/orders-module/src/Modifier/ModifierCollection.php
  32. +0 −8 addons/default/anomaly/orders-module/src/Modifier/ModifierCriteria.php
  33. +0 −166 addons/default/anomaly/orders-module/src/Modifier/ModifierModel.php
  34. +0 −8 addons/default/anomaly/orders-module/src/Modifier/ModifierObserver.php
  35. +0 −49 addons/default/anomaly/orders-module/src/Modifier/ModifierPresenter.php
  36. +0 −25 addons/default/anomaly/orders-module/src/Modifier/ModifierRepository.php
  37. +0 −8 addons/default/anomaly/orders-module/src/Modifier/ModifierRouter.php
  38. +0 −57 addons/default/anomaly/orders-module/src/Modifier/ModifierValue.php
  39. +0 −61 addons/default/anomaly/orders-module/src/Modifier/Table/ModifierTableBuilder.php
  40. +0 −47 addons/default/anomaly/orders-module/src/Order/Command/DeleteItems.php
  41. +0 −47 addons/default/anomaly/orders-module/src/Order/Command/DeleteModifiers.php
  42. +0 −46 addons/default/anomaly/orders-module/src/Order/Command/GetOrder.php
  43. +0 −82 addons/default/anomaly/orders-module/src/Order/Contract/OrderInterface.php
  44. +0 −32 addons/default/anomaly/orders-module/src/Order/Contract/OrderRepositoryInterface.php
  45. +0 −57 addons/default/anomaly/orders-module/src/Order/Form/OrderFormBuilder.php
  46. +0 −16 addons/default/anomaly/orders-module/src/Order/OrderCollection.php
  47. +0 −144 addons/default/anomaly/orders-module/src/Order/OrderModel.php
  48. +0 −46 addons/default/anomaly/orders-module/src/Order/OrderObserver.php
  49. +0 −73 addons/default/anomaly/orders-module/src/Order/OrderPresenter.php
  50. +0 −57 addons/default/anomaly/orders-module/src/Order/OrderRepository.php
  51. +0 −25 addons/default/anomaly/orders-module/src/Order/OrderRouter.php
  52. +0 −73 addons/default/anomaly/orders-module/src/Order/Table/OrderTableBuilder.php
  53. +0 −15 addons/default/anomaly/orders-module/src/OrdersModule.php
  54. +0 −36 addons/default/anomaly/orders-module/src/OrdersModuleServiceProvider.php
  55. +0 −9 addons/default/anomaly/tv-module/composer.json
  56. +0 −27 ...ns/default/anomaly/tv-module/migrations/2016_09_27_062906_anomaly.module.tv__create_tv_fields.php
  57. +0 −28 ...default/anomaly/tv-module/migrations/2016_09_27_062912_anomaly.module.tv__create_shows_stream.php
  58. +0 −7 addons/default/anomaly/tv-module/resources/lang/en/addon.php
  59. +0 −7 addons/default/anomaly/tv-module/resources/routes/shows.php
  60. +0 −43 addons/default/anomaly/tv-module/src/Http/Controller/Admin/ShowsController.php
  61. +0 −8 addons/default/anomaly/tv-module/src/Show/Contract/ShowInterface.php
  62. +0 −8 addons/default/anomaly/tv-module/src/Show/Contract/ShowRepositoryInterface.php
  63. +0 −57 addons/default/anomaly/tv-module/src/Show/Form/ShowFormBuilder.php
  64. +0 −8 addons/default/anomaly/tv-module/src/Show/ShowCollection.php
  65. +0 −8 addons/default/anomaly/tv-module/src/Show/ShowCriteria.php
  66. +0 −9 addons/default/anomaly/tv-module/src/Show/ShowModel.php
  67. +0 −8 addons/default/anomaly/tv-module/src/Show/ShowObserver.php
  68. +0 −8 addons/default/anomaly/tv-module/src/Show/ShowPresenter.php
  69. +0 −25 addons/default/anomaly/tv-module/src/Show/ShowRepository.php
  70. +0 −8 addons/default/anomaly/tv-module/src/Show/ShowRouter.php
  71. +0 −66 addons/default/anomaly/tv-module/src/Show/Table/ShowTableBuilder.php
  72. +0 −15 addons/default/anomaly/tv-module/src/TvModule.php
  73. +0 −12 addons/default/anomaly/tv-module/src/TvModuleServiceProvider.php
  74. +0 −22 app/Taxable.php
  75. +1 −8 composer.json
  76. +3 −14 routes/web.php
@@ -1 +0,0 @@
-# Orders Module
@@ -1,9 +0,0 @@
-{
- "name": "anomaly/orders-module",
- "type": "streams-addon",
- "autoload": {
- "psr-4": {
- "Anomaly\\OrdersModule\\": "src/"
- }
- }
-}
@@ -1,15 +0,0 @@
-<?php
-
-use Anomaly\Streams\Platform\Database\Migration\Migration;
-
-class AnomalyModuleOrdersCreateOrdersFields extends Migration
-{
-
- /**
- * The addon fields.
- *
- * @var array
- */
- protected $fields = [];
-
-}
@@ -1,24 +0,0 @@
-<?php
-
-use Anomaly\Streams\Platform\Database\Migration\Migration;
-
-class AnomalyModuleOrdersCreateOrdersStream extends Migration
-{
-
- /**
- * The stream definition.
- *
- * @var array
- */
- protected $stream = [
- 'slug' => 'orders'
- ];
-
- /**
- * The stream assignments.
- *
- * @var array
- */
- protected $assignments = [];
-
-}
@@ -1,24 +0,0 @@
-<?php
-
-use Anomaly\Streams\Platform\Database\Migration\Migration;
-
-class AnomalyModuleOrdersCreateItemsStream extends Migration
-{
-
- /**
- * The stream definition.
- *
- * @var array
- */
- protected $stream = [
- 'slug' => 'items'
- ];
-
- /**
- * The stream assignments.
- *
- * @var array
- */
- protected $assignments = [];
-
-}
@@ -1,24 +0,0 @@
-<?php
-
-use Anomaly\Streams\Platform\Database\Migration\Migration;
-
-class AnomalyModuleOrdersCreateModifiersStream extends Migration
-{
-
- /**
- * The stream definition.
- *
- * @var array
- */
- protected $stream = [
- 'slug' => 'modifiers'
- ];
-
- /**
- * The stream assignments.
- *
- * @var array
- */
- protected $assignments = [];
-
-}
@@ -1,7 +0,0 @@
-<?php
-
-return [
- 'title' => 'Orders',
- 'name' => 'Orders Module',
- 'description' => ''
-];
@@ -1,7 +0,0 @@
-<?php
-
-return [
- 'admin/orders/items' => 'Anomaly\OrdersModule\Http\Controller\Admin\ItemsController@index',
- 'admin/orders/items/create' => 'Anomaly\OrdersModule\Http\Controller\Admin\ItemsController@create',
- 'admin/orders/items/edit/{id}' => 'Anomaly\OrdersModule\Http\Controller\Admin\ItemsController@edit'
-];
@@ -1,7 +0,0 @@
-<?php
-
-return [
- 'admin/orders/modifiers' => 'Anomaly\OrdersModule\Http\Controller\Admin\ModifiersController@index',
- 'admin/orders/modifiers/create' => 'Anomaly\OrdersModule\Http\Controller\Admin\ModifiersController@create',
- 'admin/orders/modifiers/edit/{id}' => 'Anomaly\OrdersModule\Http\Controller\Admin\ModifiersController@edit'
-];
@@ -1,7 +0,0 @@
-<?php
-
-return [
- 'admin/orders/orders' => 'Anomaly\OrdersModule\Http\Controller\Admin\OrdersController@index',
- 'admin/orders/orders/create' => 'Anomaly\OrdersModule\Http\Controller\Admin\OrdersController@create',
- 'admin/orders/orders/edit/{id}' => 'Anomaly\OrdersModule\Http\Controller\Admin\OrdersController@edit'
-];
@@ -1,43 +0,0 @@
-<?php namespace Anomaly\OrdersModule\Http\Controller\Admin;
-
-use Anomaly\OrdersModule\Item\Form\ItemFormBuilder;
-use Anomaly\OrdersModule\Item\Table\ItemTableBuilder;
-use Anomaly\Streams\Platform\Http\Controller\AdminController;
-
-class ItemsController extends AdminController
-{
-
- /**
- * Display an index of existing entries.
- *
- * @param ItemTableBuilder $table
- * @return \Symfony\Component\HttpFoundation\Response
- */
- public function index(ItemTableBuilder $table)
- {
- return $table->render();
- }
-
- /**
- * Create a new entry.
- *
- * @param ItemFormBuilder $form
- * @return \Symfony\Component\HttpFoundation\Response
- */
- public function create(ItemFormBuilder $form)
- {
- return $form->render();
- }
-
- /**
- * Edit an existing entry.
- *
- * @param ItemFormBuilder $form
- * @param $id
- * @return \Symfony\Component\HttpFoundation\Response
- */
- public function edit(ItemFormBuilder $form, $id)
- {
- return $form->render($id);
- }
-}
@@ -1,43 +0,0 @@
-<?php namespace Anomaly\OrdersModule\Http\Controller\Admin;
-
-use Anomaly\OrdersModule\Modifier\Form\ModifierFormBuilder;
-use Anomaly\OrdersModule\Modifier\Table\ModifierTableBuilder;
-use Anomaly\Streams\Platform\Http\Controller\AdminController;
-
-class ModifiersController extends AdminController
-{
-
- /**
- * Display an index of existing entries.
- *
- * @param ModifierTableBuilder $table
- * @return \Symfony\Component\HttpFoundation\Response
- */
- public function index(ModifierTableBuilder $table)
- {
- return $table->render();
- }
-
- /**
- * Create a new entry.
- *
- * @param ModifierFormBuilder $form
- * @return \Symfony\Component\HttpFoundation\Response
- */
- public function create(ModifierFormBuilder $form)
- {
- return $form->render();
- }
-
- /**
- * Edit an existing entry.
- *
- * @param ModifierFormBuilder $form
- * @param $id
- * @return \Symfony\Component\HttpFoundation\Response
- */
- public function edit(ModifierFormBuilder $form, $id)
- {
- return $form->render($id);
- }
-}
@@ -1,43 +0,0 @@
-<?php namespace Anomaly\OrdersModule\Http\Controller\Admin;
-
-use Anomaly\OrdersModule\Order\Form\OrderFormBuilder;
-use Anomaly\OrdersModule\Order\Table\OrderTableBuilder;
-use Anomaly\Streams\Platform\Http\Controller\AdminController;
-
-class OrdersController extends AdminController
-{
-
- /**
- * Display an index of existing entries.
- *
- * @param OrderTableBuilder $table
- * @return \Symfony\Component\HttpFoundation\Response
- */
- public function index(OrderTableBuilder $table)
- {
- return $table->render();
- }
-
- /**
- * Create a new entry.
- *
- * @param OrderFormBuilder $form
- * @return \Symfony\Component\HttpFoundation\Response
- */
- public function create(OrderFormBuilder $form)
- {
- return $form->render();
- }
-
- /**
- * Edit an existing entry.
- *
- * @param OrderFormBuilder $form
- * @param $id
- * @return \Symfony\Component\HttpFoundation\Response
- */
- public function edit(OrderFormBuilder $form, $id)
- {
- return $form->render($id);
- }
-}
@@ -1,47 +0,0 @@
-<?php namespace Anomaly\OrdersModule\Item\Command;
-
-use Anomaly\OrdersModule\Item\Contract\ItemInterface;
-use Anomaly\OrdersModule\Modifier\Contract\ModifierInterface;
-use Anomaly\OrdersModule\Modifier\Contract\ModifierRepositoryInterface;
-use Anomaly\Streams\Platform\Model\EloquentModel;
-
-/**
- * Class DeleteModifiers
- *
- * @link http://pyrocms.com/
- * @author PyroCMS, Inc. <support@pyrocms.com>
- * @author Ryan Thompson <ryan@pyrocms.com>
- */
-class DeleteModifiers
-{
-
- /**
- * The order item.
- *
- * @var ItemInterface
- */
- protected $item;
-
- /**
- * Create a new DeleteModifiers instance.
- *
- * @param ItemInterface $item
- */
- public function __construct(ItemInterface $item)
- {
- $this->item = $item;
- }
-
- /**
- * Handle the command.
- *
- * @param ModifierRepositoryInterface $modifiers
- */
- public function handle(ModifierRepositoryInterface $modifiers)
- {
- /* @var ModifierInterface|EloquentModel $modifier */
- foreach ($this->item->getModifiers() as $modifier) {
- $modifiers->delete($modifier);
- }
- }
-}
Oops, something went wrong.

0 comments on commit 454d37a

Please sign in to comment.