public function DatabaseMockStorage::__construct in Apigee Edge 8
DatabaseMockStorage constructor.
Parameters
\Drupal\Core\Queue\QueueDatabaseFactory $queue_factory: The queue factory.
\Drupal\Core\State\StateInterface $state: The state API.
File
- tests/
modules/ apigee_mock_api_client/ src/ DatabaseMockStorage.php, line 62
Class
- DatabaseMockStorage
- A mock storage for functional tests.
Namespace
Drupal\apigee_mock_api_clientCode
public function __construct(QueueDatabaseFactory $queue_factory, StateInterface $state) {
$this->queue = $queue_factory
->get('apigee_mock_api_client.db_mock_storage');
$this->state = $state;
}