bandwidthThrottle\tokenBucket\storage\MemcacheStorage::getMicrotime PHP Method

getMicrotime() public method

public getMicrotime ( )
    public function getMicrotime()
    {
        $microtime = $this->memcache->get($this->key);
        if ($microtime === false) {
            throw new StorageException("The key '{$this->key}' was not found.");
        }
        return (double) $microtime;
    }