mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
Adds alias
This commit is contained in:
@ -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.
|
* 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);
|
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.
|
* Gets the theme configuration.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user