Apc
Installation
Description
This module interacts with the Alternative PHP Cache (APC)
using APCu extension.
Performs a cleanup by flushing all values after each test run.
Status
Example (unit.suite.yml
)
Be sure you don’t use the production server to connect.
Actions
dontSeeInApc
param string
$key
param mixed
$value
return void
Checks item in APCu doesn’t exist or is the same as expected.
Examples:
flushApc
Clears the APCu cache
grabValueFromApc
param string
$key
return mixed
Grabs value from APCu by key.
Example:
haveInApc
param string
$key
param mixed
$value
param int
$expiration
return string
Stores an item $value
with $key
on the APCu.
Examples:
seeInApc
param string
$key
param mixed
$value
return void
Checks item in APCu exists and the same as expected.
Examples: