| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function create(IPattern $pattern): IFrameRevolver |
||
| 24 | { |
||
| 25 | return $this->frameRevolverBuilder |
||
| 26 | ->withFrameCollection( |
||
| 27 | $this->frameCollectionFactory |
||
| 28 | ->create( |
||
| 29 | $pattern->getFrames() |
||
| 30 | ) |
||
| 31 | ) |
||
| 32 | ->withInterval( |
||
| 33 | $pattern->getInterval() |
||
| 34 | ) |
||
| 35 | ->withTolerance( |
||
| 36 | $this->revolverConfig->getTolerance() |
||
| 37 | ) |
||
| 38 | ->build() |
||
| 39 | ; |
||
| 42 |