ReflectionParameter::isReadonly

Checks if this is a readonly parameter

public function isReadonly(): bool;

Returns

  • bool - TRUE if the parameter is readonly, otherwise FALSE