@@ 690-696 (lines=7) @@ | ||
687 | foreach ($srcsets as $descriptor => &$alterations) { |
|
688 | $image = $this->make(array_pull($alterations, 'image', $this->getImage()))->setOutput('url'); |
|
689 | ||
690 | foreach ($alterations as $method => $arguments) { |
|
691 | if (is_array($arguments)) { |
|
692 | call_user_func_array([$image, $method], $arguments); |
|
693 | } else { |
|
694 | call_user_func([$image, $method], $arguments); |
|
695 | } |
|
696 | } |
|
697 | ||
698 | $alterations = $image; |
|
699 | } |
|
@@ 726-732 (lines=7) @@ | ||
723 | call_user_func([$image, 'media'], $media); |
|
724 | } |
|
725 | ||
726 | foreach ($alterations as $method => $arguments) { |
|
727 | if (is_array($arguments)) { |
|
728 | call_user_func_array([$image, $method], $arguments); |
|
729 | } else { |
|
730 | call_user_func([$image, $method], $arguments); |
|
731 | } |
|
732 | } |
|
733 | ||
734 | $alterations = $image; |
|
735 | } |
|
@@ 759-765 (lines=7) @@ | ||
756 | || ($agent == 'tablet' && $this->agent->isTablet()) |
|
757 | || ($agent == 'desktop' && $this->agent->isDesktop()) |
|
758 | ) { |
|
759 | foreach ($alterations as $method => $arguments) { |
|
760 | if (is_array($arguments)) { |
|
761 | call_user_func_array([$this, $method], $arguments); |
|
762 | } else { |
|
763 | call_user_func([$this, $method], $arguments); |
|
764 | } |
|
765 | } |
|
766 | ||
767 | if ($exit) { |
|
768 | return $this; |