Skip to content

Call to undefined function Prettus\Repository\Generators\str_contains() #636

@vrkansagara

Description

@vrkansagara
PHP 7.3.9-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Sep  2 2019 12:54:04) ( NTS )
Laravel Framework 6.0.3 
vendor/prettus/l5-repository/src/Prettus/Repository/Generators/Generator.php:138
    134|      */
    135|     public function getName()
    136|     {
    137|         $name = $this->name;
  > 138|         if (str_contains($this->name, '\\')) {
    139|             $name = str_replace('\\', '/', $this->name);
    140|         }
    141|         if (str_contains($this->name, '/')) {
    142|             $name = str_replace('/', '/', $this->name);


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions