diff --git a/src/Configuration.php b/src/Configuration.php index 556e8432..fd12a92f 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -44,6 +44,14 @@ final class Configuration ); } + /** + * Depending on where is called, it will extend the given classes and traits globally or locally. + */ + public function extends(string ...$classAndTraits): UsesCall + { + return $this->extend(...$classAndTraits); + } + /** * Depending on where is called, it will add the given groups globally or locally. */ @@ -60,6 +68,14 @@ final class Configuration return $this->extend(...$classAndTraits); } + /** + * Depending on where is called, it will extend the given classes and traits globally or locally. + */ + public function uses(string ...$classAndTraits): UsesCall + { + return $this->extends(...$classAndTraits); + } + /** * Gets the theme configuration. */