<?php ucfirst(string $string): string
<?php return $this ->fluentlyGetOrSet('title') ->getter(function ($title) { return $title ?? ucfirst($this->handle); }) ->args(func_get_args()); }
<?php if (! $data = $item->get($key)) { $method = 'get'.ucfirst($key); if (method_exists($item, $method)) { $data = call_user_func([$item, $method]); }
<?php return in_array($field->type(), ['replicator', 'grid', 'bard']); }) ->each(function ($field) use ($dottedPrefix) { $method = 'update'.ucfirst($field->type()).'Children'; $dottedKey = $dottedPrefix.$field->handle(); $this->{$method}($field, $dottedKey);
<?php public function clear(Request $request, $cache) { $method = 'clear'.ucfirst($cache).'Cache'; return $this->$method(); }
<?php private function generateBy($type, $item) { $method = 'generateBy'.ucfirst($type); try { return $this->generator->$method($item, $this->request->all());