From 7fe1000042691213443494d636b08db9e9217752 Mon Sep 17 00:00:00 2001 From: Michael Aerni Date: Thu, 30 Nov 2023 18:58:53 -0500 Subject: [PATCH] Remove unused classes --- src/Facades/View.php | 13 --------- src/Traits/WithConfig.php | 61 --------------------------------------- 2 files changed, 74 deletions(-) delete mode 100644 src/Facades/View.php delete mode 100644 src/Traits/WithConfig.php diff --git a/src/Facades/View.php b/src/Facades/View.php deleted file mode 100644 index 380c0a67..00000000 --- a/src/Facades/View.php +++ /dev/null @@ -1,13 +0,0 @@ -config; - } - - $this->config = $config; - - return $this; - } - - public function merge(array $config): self - { - array_merge($this->config, $config); - - return $this; - } - - public function get(string $key): mixed - { - return Arr::get($this->config, $key); - } - - public function set(string $key, mixed $value): self - { - $this->config[$key] = $value; - - return $this; - } - - public function __get(string $key): mixed - { - return Arr::get($this->config, $key); - } - - public function __set(string $key, mixed $value): void - { - $this->config[$key] = $value; - } - - public function __call(string $name, array $arguments): mixed - { - if (! $arguments) { - return Arr::get($this->config, $name); - } - - $this->config[$name] = $arguments[0]; - - return $this; - } -}