@@ 650-656 (lines=7) @@ | ||
647 | foreach ($srcsets as $descriptor => &$alterations) { |
|
648 | $image = $this->make(array_pull($alterations, 'image', $this->getImage()))->setOutput('url'); |
|
649 | ||
650 | foreach ($alterations as $method => $arguments) { |
|
651 | if (is_array($arguments)) { |
|
652 | call_user_func_array([$image, $method], $arguments); |
|
653 | } else { |
|
654 | call_user_func([$image, $method], $arguments); |
|
655 | } |
|
656 | } |
|
657 | ||
658 | $alterations = $image; |
|
659 | } |
|
@@ 686-692 (lines=7) @@ | ||
683 | call_user_func([$image, 'media'], $media); |
|
684 | } |
|
685 | ||
686 | foreach ($alterations as $method => $arguments) { |
|
687 | if (is_array($arguments)) { |
|
688 | call_user_func_array([$image, $method], $arguments); |
|
689 | } else { |
|
690 | call_user_func([$image, $method], $arguments); |
|
691 | } |
|
692 | } |
|
693 | ||
694 | $alterations = $image; |
|
695 | } |
|
@@ 719-725 (lines=7) @@ | ||
716 | || ($agent == 'tablet' && $this->agent->isTablet()) |
|
717 | || ($agent == 'desktop' && $this->agent->isDesktop()) |
|
718 | ) { |
|
719 | foreach ($alterations as $method => $arguments) { |
|
720 | if (is_array($arguments)) { |
|
721 | call_user_func_array([$this, $method], $arguments); |
|
722 | } else { |
|
723 | call_user_func([$this, $method], $arguments); |
|
724 | } |
|
725 | } |
|
726 | ||
727 | if ($exit) { |
|
728 | return $this; |