MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / toArray

Method toArray

examples/demo.php:4501–4507  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4499 }
4500
4501 public function toArray(): array
4502 {
4503 $base = parent::toArray();
4504 $base['connection'] = parent::CONNECTION;
4505 $base['permissions'] = $this->permissions;
4506 return $base;
4507 }
4508
4509 public function grantPermission(string $permission): void
4510 {

Callers

nothing calls this directly

Calls 1

toArrayMethod · 0.45

Tested by

no test coverage detected