| @@ 628-634 (lines=7) @@ | ||
| 625 | ||
| 626 | $image = $this->make(array_pull($alterations, 'image', $this->getImage()))->setOutput('url'); |
|
| 627 | ||
| 628 | foreach ($alterations as $method => $arguments) { |
|
| 629 | if (is_array($arguments)) { |
|
| 630 | call_user_func_array([$image, $method], $arguments); |
|
| 631 | } else { |
|
| 632 | call_user_func([$image, $method], $arguments); |
|
| 633 | } |
|
| 634 | } |
|
| 635 | ||
| 636 | $alterations = $image; |
|
| 637 | } |
|
| @@ 665-671 (lines=7) @@ | ||
| 662 | call_user_func([$image, 'media'], $media); |
|
| 663 | } |
|
| 664 | ||
| 665 | foreach ($alterations as $method => $arguments) { |
|
| 666 | if (is_array($arguments)) { |
|
| 667 | call_user_func_array([$image, $method], $arguments); |
|
| 668 | } else { |
|
| 669 | call_user_func([$image, $method], $arguments); |
|
| 670 | } |
|
| 671 | } |
|
| 672 | ||
| 673 | $alterations = $image; |
|
| 674 | } |
|
| @@ 698-704 (lines=7) @@ | ||
| 695 | || ($agent == 'tablet' && $this->agent->isTablet()) |
|
| 696 | || ($agent == 'desktop' && $this->agent->isDesktop()) |
|
| 697 | ) { |
|
| 698 | foreach ($alterations as $method => $arguments) { |
|
| 699 | if (is_array($arguments)) { |
|
| 700 | call_user_func_array([$this, $method], $arguments); |
|
| 701 | } else { |
|
| 702 | call_user_func([$this, $method], $arguments); |
|
| 703 | } |
|
| 704 | } |
|
| 705 | ||
| 706 | if ($exit) { |
|
| 707 | return $this; |
|