技术
365
2019-07-21
symfony注入服务方式
参考资料:https://symfony.com/doc/current/service_container/autowiring.html 注入方式https://symfony.com/doc/current/service_...
324
2019-07-19
symfony使用缓存
参考文档:https://symfony.com/doc/4.2/components/cache.html The Cache Component使用默认文件缓存1、注入CacheInterface $cachepublic&n...
435
2019-07-17
git 本地仓库同时推送到多个远程仓库
479
2019-07-13
symfony快速搭建后台
https://github.com/kevinpapst/AdminLTEBundle AdminLTE bundle for Symfony 4 https://www.cnblogs.com/forget-reme...
609
2019-07-13
php代码覆盖率统计工具
常用的单元测试工具都有代码覆盖率工具,但是当我们想统计接口测试覆盖率可能有些困难。一般需要借助xdebug的覆盖率功能再配合一些统计展示工具。常用工具:1、codeception远程统计覆盖率:https://codeception.com...
456
2019-07-08
symfony4+codeception单元测试如何获取依赖注入的服务
参考资料:https://github.com/Codeception/Codeception/issues/4976 参考官方文档进行初始化:https://codeception.com/for/symfonysymfony4...
504
2019-07-02
symfony根据数据库生成实体
参考文章:https://symfony.com/doc/current/doctrine/reverse_engineering.html How to Generate Entities from an Exist...
421
2019-06-28
logrotate切割日志
大部分linux系统自带logrotate可以通过logrotate来自动进行日志切割添加配置文件在/etc/logrotate.d/var/log/nginx/*log { #文件名  ...
402
2019-06-28
编辑距离在文本对齐与自动编辑领域的应用
参考文档:https://blog.csdn.net/l294265421/article/details/50197223 从字符串编辑距离到字符串对齐https://blog.csdn.net/qq_29311407/arti...
355
2019-06-16