Lets say I have an instance variable in a class that holds an array of strings
private $scopes = [];
To merge given scopes into existing scopes
public function scopes(array $scopes)
Completely replace scopes array with new items
public function setScopes(array $scopes): void
Get the current scopes
public function getScopes(): array
Top comments (0)