Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Checks if a value exists in an array
<?php in_array(mixed $needle, array $haystack, bool $strict = false): bool
<?php         }



        return $shouldBeIncluded

            && !in_array($column->getName(), $timestamps);

    }



    protected function mapToFactory($key, $value = null): array
<?php     protected function addFactoryTrait($modelClass)

    {

        $traits = class_uses_recursive($modelClass);

        if (is_array($traits) && in_array('Illuminate\\Database\\Eloquent\\Factories\\HasFactory', $traits)) {

            return;

        }