Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Make a string lowercase
<?php strtolower(string $string): string
<?php #[Computed]
public function fooBar()
{
return strtolower($this->upperCasedFoo);
}
public function render()
<?php #[Computed]
public function foo_bar_snake_case_in_component_class()
{
return strtolower($this->upperCasedFoo);
}
#[Computed]
<?php #[Computed]
public function fooBarCamelCaseInComponentClass()
{
return strtolower($this->upperCasedFoo);
}
public function render()
<?php public function getFooBarProperty()
{
return strtolower($this->upperCasedFoo);
}
public function render()
<?php public function getFooBarProperty()
{
return strtolower($this->upperCasedFoo);
}
public function render()
<?php public function getFooBarProperty()
{
return strtolower($this->upperCasedFoo);
}
public function render()
<?php public function isReservedClassName($name)
{
return array_search(strtolower($name), $this->getReservedName()) !== false;
}
protected function afterPromptingForMissingArguments(InputInterface $input, OutputInterface $output)
<?php {
$diskBeforeTestFake = config('livewire.temporary_file_upload.disk') ?: config('filesystems.default');
return config('filesystems.disks.'.strtolower($diskBeforeTestFake).'.driver') === 's3';
}
public static function isUsingGCS()
<?php {
$diskBeforeTestFake = config('livewire.temporary_file_upload.disk') ?: config('filesystems.default');
return config('filesystems.disks.'.strtolower($diskBeforeTestFake).'.driver') === 'gcs';
}
public static function normalizeRelativePath($path)
<?php public function dehydrate()
{
$this->dateWithFormat = $this->dateWithFormat->format('y-m-d');
$this->allCaps = strtolower($this->allCaps);
$this->stringable = $this->stringable->__toString();
}