What does App::class mean? The class cannot be found.
在学php了
在学php了 2022-07-25 10:29:26
0
1
836
  function bind($abstract, $concrete = null)
    {
        return Container::getInstance()->bind($abstract, $concrete);
    }

App::class What does it mean? That class cannot be found

在学php了
在学php了

reply all(1)
在学php了
  function app(string $name = '', array $args = [], bool $newInstance = false)    
  {      
    return Container::getInstance()->make($name ?: App::class, $args, $newInstance);   
   }

The code is posted wrong

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template