Adjusts configuration

This commit is contained in:
Nuno Maduro
2024-06-08 13:12:17 +01:00
parent ba914fa2fb
commit 9e27813897
2 changed files with 10 additions and 0 deletions

View File

@ -53,6 +53,14 @@ final class Configuration
->extend(...$classAndTraits);
}
/**
* Depending on where is called, it will add the given groups globally or locally.
*/
public function group(string ...$groups): UsesCall
{
return (new UsesCall($this->filename, []))->group(...$groups);
}
/**
* Depending on where is called, it will extend the given classes and traits globally or locally.
*/