<?php call_user_func(callable $callback, mixed ...$args): mixed
<?php $items = call_user_func($this->callback); return collect($items)->map(function ($replacement) { $replaced = (new self)
<?php $method = Str::camel($sort); $value = (method_exists($item, $method)) ? call_user_func([$item, $method]) : $item->get($sort); return $this->normalizeSortableValue($value);
<?php public function supplementMany(callable $callable) { foreach ($this->items as $i => $item) { foreach (call_user_func($callable, $item) as $key => $value) { $this->items[$i]->setSupplement($key, $value); } }
<?php $method = 'get'.ucfirst($key); if (method_exists($item, $method)) { $data = call_user_func([$item, $method]); } } }
<?php public function makeUser($socialite): StatamicUser { if ($this->userCallback) { return call_user_func($this->userCallback, $socialite); } return User::make()
<?php public function userData($socialite) { if ($this->userDataCallback) { return call_user_func($this->userDataCallback, $socialite); } return ['name' => $socialite->getName()];
<?php protected function createChildStore($key) { $store = $this->childStoreCreator ? call_user_func($this->childStoreCreator) : app($this->childStore); return $store
<?php 'tag_method' => $original_method, ]); $output = call_user_func([$tag, $method]); if ($output instanceof Collection) { $output = $output->toAugmentedArray();