lcfirst

Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8
Make a string's first character lowercase
lcfirst(string $string): string
        static::$getAttributeMutatorCache[$class] =

            
collect($attributeMutatorMethods = static::getAttributeMarkedMutatorMethods($class))

                    ->
mapWithKeys(function ($match) {

                        return [
lcfirst(static::$snakeAttributes Str::snake($match) : $match) => true];

                    })->
all();



        static::
$mutatorCache[$class] = collect(static::getMutatorMethods($class))
        static::$mutatorCache[$class] = collect(static::getMutatorMethods($class))

                ->
merge($attributeMutatorMethods)

                ->
map(function ($match) {

                    return 
lcfirst(static::$snakeAttributes Str::snake($match) : $match);

                })->
all();

    }
    {

        foreach (
$this->columns as $column) {

            foreach (
$grammar->getFluentCommands() as $commandName) {

                
$attributeName lcfirst($commandName);



                if (! isset(
$column->{$attributeName})) {

                    continue;
            'DummyModelClass' => class_basename($modelClass),

            
'{{ model }}' => class_basename($modelClass),

            
'{{model}}' => class_basename($modelClass),

            
'DummyModelVariable' => lcfirst(class_basename($modelClass)),

            
'{{ modelVariable }}' => lcfirst(class_basename($modelClass)),

            
'{{modelVariable}}' => lcfirst(class_basename($modelClass)),

        ];
            '{{ model }}' => class_basename($modelClass),

            
'{{model}}' => class_basename($modelClass),

            
'DummyModelVariable' => lcfirst(class_basename($modelClass)),

            
'{{ modelVariable }}' => lcfirst(class_basename($modelClass)),

            
'{{modelVariable}}' => lcfirst(class_basename($modelClass)),

        ];
            '{{model}}' => class_basename($modelClass),

            
'DummyModelVariable' => lcfirst(class_basename($modelClass)),

            
'{{ modelVariable }}' => lcfirst(class_basename($modelClass)),

            
'{{modelVariable}}' => lcfirst(class_basename($modelClass)),

        ];



        return 
str_replace(
    protected function addAddresses($address$name$type)

    {

        if (
is_array($address)) {

            
$type lcfirst($type);



            
$addresses collect($address)->map(function ($address$key) {

                if (
is_string($key) && is_string($address)) {
            'ParentDummyModelClass' => class_basename($parentModelClass),

            
'{{ parentModel }}' => class_basename($parentModelClass),

            
'{{parentModel}}' => class_basename($parentModelClass),

            
'ParentDummyModelVariable' => lcfirst(class_basename($parentModelClass)),

            
'{{ parentModelVariable }}' => lcfirst(class_basename($parentModelClass)),

            
'{{parentModelVariable}}' => lcfirst(class_basename($parentModelClass)),

        ];
            '{{ parentModel }}' => class_basename($parentModelClass),

            
'{{parentModel}}' => class_basename($parentModelClass),

            
'ParentDummyModelVariable' => lcfirst(class_basename($parentModelClass)),

            
'{{ parentModelVariable }}' => lcfirst(class_basename($parentModelClass)),

            
'{{parentModelVariable}}' => lcfirst(class_basename($parentModelClass)),

        ];

    }
            '{{parentModel}}' => class_basename($parentModelClass),

            
'ParentDummyModelVariable' => lcfirst(class_basename($parentModelClass)),

            
'{{ parentModelVariable }}' => lcfirst(class_basename($parentModelClass)),

            
'{{parentModelVariable}}' => lcfirst(class_basename($parentModelClass)),

        ];

    }
            'DummyModelClass' => class_basename($modelClass),

            
'{{ model }}' => class_basename($modelClass),

            
'{{model}}' => class_basename($modelClass),

            
'DummyModelVariable' => lcfirst(class_basename($modelClass)),

            
'{{ modelVariable }}' => lcfirst(class_basename($modelClass)),

            
'{{modelVariable}}' => lcfirst(class_basename($modelClass)),

        ]);
            '{{ model }}' => class_basename($modelClass),

            
'{{model}}' => class_basename($modelClass),

            
'DummyModelVariable' => lcfirst(class_basename($modelClass)),

            
'{{ modelVariable }}' => lcfirst(class_basename($modelClass)),

            
'{{modelVariable}}' => lcfirst(class_basename($modelClass)),

        ]);

    }
            '{{model}}' => class_basename($modelClass),

            
'DummyModelVariable' => lcfirst(class_basename($modelClass)),

            
'{{ modelVariable }}' => lcfirst(class_basename($modelClass)),

            
'{{modelVariable}}' => lcfirst(class_basename($modelClass)),

        ]);

    }
            return static::$camelCache[$value];

        }



        return static::
$camelCache[$value] = lcfirst(static::studly($value));

    }
    public function __get($attribute)

    {

        
$accessor 'get'.lcfirst($attribute).'Attribute';

        if (
method_exists($this$accessor)) {

            return 
$this->$accessor();

        }