I configured this in services.yaml
service.crud:
class: Common\Crud
arguments: ["@services.wrap"]
this is written in the code
$this->crud = $this->get("service.crud");
$this->crud->test();
now if you want to jump to the code, click test ()
to jump to the class file Common\ Crud.php
corresponding to the method test ()
I don"t use the symfony
framework. I"ve used it before, and I think it"s a good idea. I learned from it. According to the implementation in yaf
, can official plug-ins be used