zoukankan      html  css  js  c++  java
  • php admin bundle 的使用 错误报告

    0,不管编程还是调试都会陷进去,回头想想才会了解当时的可笑,并记忆深刻。 于是有了这篇博问。

    1,按官方的文档逐步搭建。直到建立services(已经建立就是个POSTentity),但是引入进来(引入有两种方式,用了第二种,不管XML还是YML),就是报错。

    1.1 报错为acme.admin.post :has a dependency on a non-existent service ,然后在serveice.xml 定义后。这个服务就好了 但是:

    1.2今天加了sonata.admin.comment ,这个service 居然没有

    2,you can access the Admin class instance via the $admin variable. (看官网DOC 第二遍,希望弄清楚一些概念和细节问题)

    $admin 是啥。

    2.1 like getting services from the Dependency Injection Container (于是乎没什么特别)

  • 相关阅读:
    BGP
    ospf路由认证
    rip路由认证
    php-数组的相关函数及排序算法
    php-多维数组,数组遍历
    php-数组的概念,语法及特点
    php-错误处理
    MySQL性能优化
    JUC多线程03
    JUC多线程01
  • 原文地址:https://www.cnblogs.com/krilima/p/4458393.html
Copyright © 2011-2022 走看看