for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of phpab/phpab. (https://github.com/phpab/phpab)
*
* @link https://github.com/phpab/phpab for the canonical source repository
* @copyright Copyright (c) 2015-2016 phpab. (https://github.com/phpab/)
* @license https://raw.githubusercontent.com/phpab/phpab/master/LICENSE.md MIT
*/
namespace PhpAb\Storage;
use PhpAb\Storage\Adapter\AdapterInterface;
* {@inheritDoc}
class Storage implements StorageInterface
{
* @var AdapterInterface
private $adapter;
* @param AdapterInterface $adpterInterface
public function __construct(AdapterInterface $adpterInterface)
$this->adapter = $adpterInterface;
}
public function has($identifier)
return $this->adapter->has($identifier);
public function get($identifier)
return $this->adapter->get($identifier);
public function set($identifier, $participation)
$this->adapter->set($identifier, $participation);
public function clear()
return $this->adapter->clear();