Skip to content

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.

MemberSignature
hashas(string $capability): bool