Menu
BorrowMut
finalclass
final class BorrowMut
Parameter attribute: the caller keeps ownership; the callee may write through the pointer but must not free it.
See also: Borrow
Methods
__construct() | Create the attribute. |
__construct()#source
function __construct(public ?string $lifetime = null)
Create the attribute.
Parameters
$lifetimestring|null = null- optional lifetime label for documentation; it is not checked