@@ 711-717 (lines=7) @@ | ||
708 | foreach ($srcsets as $descriptor => &$alterations) { |
|
709 | $image = $this->make(array_pull($alterations, 'image', $this->getImage()))->setOutput('url'); |
|
710 | ||
711 | foreach ($alterations as $method => $arguments) { |
|
712 | if (is_array($arguments)) { |
|
713 | call_user_func_array([$image, $method], $arguments); |
|
714 | } else { |
|
715 | call_user_func([$image, $method], $arguments); |
|
716 | } |
|
717 | } |
|
718 | ||
719 | $alterations = $image; |
|
720 | } |
|
@@ 747-753 (lines=7) @@ | ||
744 | call_user_func([$image, 'media'], $media); |
|
745 | } |
|
746 | ||
747 | foreach ($alterations as $method => $arguments) { |
|
748 | if (is_array($arguments)) { |
|
749 | call_user_func_array([$image, $method], $arguments); |
|
750 | } else { |
|
751 | call_user_func([$image, $method], $arguments); |
|
752 | } |
|
753 | } |
|
754 | ||
755 | $alterations = $image; |
|
756 | } |
|
@@ 780-786 (lines=7) @@ | ||
777 | || ($agent == 'tablet' && $this->agent->isTablet()) |
|
778 | || ($agent == 'desktop' && $this->agent->isDesktop()) |
|
779 | ) { |
|
780 | foreach ($alterations as $method => $arguments) { |
|
781 | if (is_array($arguments)) { |
|
782 | call_user_func_array([$this, $method], $arguments); |
|
783 | } else { |
|
784 | call_user_func([$this, $method], $arguments); |
|
785 | } |
|
786 | } |
|
787 | ||
788 | if ($exit) { |
|
789 | return $this; |