MemoryBudget
FinalYes
Properties
Methods
- __construct() : mixed
- exceeded() : bool
- exceededWith() : bool
- released() : void
- After a spill freed its buffer: hands the memory PHP keeps cached back to the OS.
Properties
$limit read-only
public
Unit
$limit
Methods
__construct()
public
__construct(Backend $backend, Unit $limit) : mixed
Parameters
exceeded()
public
exceeded() : bool
Return values
boolexceededWith()
public
exceededWith(int $multiple) : bool
Parameters
- $multiple : int
Return values
boolreleased()
After a spill freed its buffer: hands the memory PHP keeps cached back to the OS.
public
released() : void