@@ 642-648 (lines=7) @@ | ||
639 | ||
640 | $image = $this->make(array_pull($alterations, 'image', $this->getImage()))->setOutput('url'); |
|
641 | ||
642 | foreach ($alterations as $method => $arguments) { |
|
643 | if (is_array($arguments)) { |
|
644 | call_user_func_array([$image, $method], $arguments); |
|
645 | } else { |
|
646 | call_user_func([$image, $method], $arguments); |
|
647 | } |
|
648 | } |
|
649 | ||
650 | $alterations = $image; |
|
651 | } |
|
@@ 679-685 (lines=7) @@ | ||
676 | call_user_func([$image, 'media'], $media); |
|
677 | } |
|
678 | ||
679 | foreach ($alterations as $method => $arguments) { |
|
680 | if (is_array($arguments)) { |
|
681 | call_user_func_array([$image, $method], $arguments); |
|
682 | } else { |
|
683 | call_user_func([$image, $method], $arguments); |
|
684 | } |
|
685 | } |
|
686 | ||
687 | $alterations = $image; |
|
688 | } |
|
@@ 712-718 (lines=7) @@ | ||
709 | || ($agent == 'tablet' && $this->agent->isTablet()) |
|
710 | || ($agent == 'desktop' && $this->agent->isDesktop()) |
|
711 | ) { |
|
712 | foreach ($alterations as $method => $arguments) { |
|
713 | if (is_array($arguments)) { |
|
714 | call_user_func_array([$this, $method], $arguments); |
|
715 | } else { |
|
716 | call_user_func([$this, $method], $arguments); |
|
717 | } |
|
718 | } |
|
719 | ||
720 | if ($exit) { |
|
721 | return $this; |