From 8fbf681721b775f4139e73c02d6853e629d5195c Mon Sep 17 00:00:00 2001 From: Thomas Kerin Date: Sun, 22 Jul 2018 14:38:35 +0200 Subject: [PATCH] DisabledGlobalNetwork - allow disabling global network (with errors) --- .../DisabledGlobalNetworkException.php | 8 ++++ src/Network/DisabledGlobalNetwork.php | 41 +++++++++++++++++++ tests/Network/DisabledGlobalNetworkTest.php | 30 ++++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 src/Exceptions/DisabledGlobalNetworkException.php create mode 100644 src/Network/DisabledGlobalNetwork.php create mode 100644 tests/Network/DisabledGlobalNetworkTest.php diff --git a/src/Exceptions/DisabledGlobalNetworkException.php b/src/Exceptions/DisabledGlobalNetworkException.php new file mode 100644 index 000000000..3d1884594 --- /dev/null +++ b/src/Exceptions/DisabledGlobalNetworkException.php @@ -0,0 +1,8 @@ +{$method}(); + } +}