Core\Cap
Checks whether the running code has a capability, such as fs.write. Code can use it to skip a feature that is not allowed. It never grants a capability.
Members
1 member.
| Member | Signature |
|---|---|
has | has(string $capability): bool |
Checks whether the running code has a capability, such as fs.write. Code can use it to skip a feature that is not allowed. It never grants a capability.
1 member.
| Member | Signature |
|---|---|
has | has(string $capability): bool |