bandwidthThrottle\tokenBucket\storage\IPCStorage::__construct PHP Method

__construct() public method

You can create the key with PHP's function ftok().
public __construct ( integer $key )
$key integer The System V IPC key.
    public function __construct($key)
    {
        $this->key = $key;
        $this->attach();
    }