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