Inmemory::getDriver()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php namespace Nwidart\LaravelBroadway\EventStore\Broadway\Drivers;
2
3
use Broadway\EventStore\InMemoryEventStore;
4
use Nwidart\LaravelBroadway\EventStore\Driver;
5
6
class Inmemory implements Driver
7
{
8
    /**
9
     * @return object
10
     */
11
    public function getDriver()
12
    {
13
        return new InMemoryEventStore();
14
    }
15
}
16