Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PHPantom-dev/phpantom_lsp
/ addRoles
Method
addRoles
examples/demo.php:4425–4428 ·
view source on GitHub ↗
(string ...$roles)
Source
from the content-addressed store, hash-verified
4423
}
4424
4425
public function addRoles(string ...$roles): void
4426
{
4427
$this->roles = array_merge($this->roles, $roles);
4428
}
4429
4430
public function getRoles(): array
4431
{
Callers
2
demo
Method · 0.80
demo
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected