自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 收藏
  • 关注

翻译 Array Functions

1.is_arrayis_array ( mixed $var ) : boolFinds whether a variable is an array2.explodeexplode ( string $delimiter , string $string [, int $limit = PHP_INT_MAX ] ) : arrayReturns an array of str...

2019-04-11 08:18:06 147

翻译 Object Cloning

1.behaviors①When an object is cloned, PHP will perform a shallow copy of all of the object’s properties. Any properties that are references to other variables will remain references.②Once the clonin...

2019-04-10 09:45:47 148

翻译 DependencyInjection

1.Basic Usageclass Mailer{ private $transport; public function __construct() { $this->transport = 'sendmail'; } // ...}2.register this in the container as a servi...

2019-04-09 22:38:38 259

翻译 Logging

The minimal log level can be changed by setting the SHELL_VERBOSITY environment variable:ERROR(-1), NOTICE(1), INFO(2), DEBUG(3)1. Logging a Messageinject the default logger in your controller2....

2019-04-03 09:11:23 130

转载 Events and Event Listeners

1. Create an Event ListenerThe most common way to listen to an event is to register an event listener// src/EventListener/ExceptionListener.phpnamespace App\EventListener;use Symfony\Component\...

2019-04-02 21:52:00 152

转载 Service Container

1. Fetch and use Servicestype-hint an argument with the service’s class or interface namefull list (debug:container)2. Create/Configure services in the containernamespace App\Serviceautomatic ...

2019-04-02 08:55:37 493

转载 Hello, Symfony

1.Installing & Setting up the Symfony FrameworkRunning your Symfony Applicationphp bin/console server:runStoring your Project in gitSetting up an Existing Symfony ProjectChecking for Security...

2019-03-31 20:26:22 89

转载 Symfony Controller

1.Map a URL to a Controller (Routing)2.Base Controller Class (Abstract) & Services3.Generate URLs4.Redirect5.render templates6.fetch serviceshowdebug:autowiring7.generate ControllersSy...

2019-03-31 20:24:07 259

原创 Databases and theDoctrine ORM

Install Doctrine composer require symfony/orm-pack composer require --dev symfony/maker-bundleConfigure the DatabaseCreate an Entity ClassMigrations: Create the Database Tables/SchemaMigrations...

2019-03-31 17:06:54 148

原创 phpstorm outline

1.Code with smart assistanceCode completionIntention actions (Alt + Enter)2.Keep your code neatinspections3.Generate some codeconstructors, getter/setter, PHPDoc commentsoverriding/implementing...

2019-03-31 11:37:59 154

原创 tmux

tmux**tmux**基本使用session操作窗口操作pane操作ssh设置断线自动重连tmux基本使用session操作prefix默认为ctrl+b(可修改)tmux new -s 名字 新建sessiontmux a -t 名字 重连sessiontmux ls 展示当前所有sessiontmux a 重连最近的session窗口操作prefix+c 新建窗口ctrl...

2019-03-31 09:42:11 119

原创 UML Class Diagram

1.Definitiona type of static structure diagram that describes the structure of a system by showing the system’s:classestheir attributesoperations (or methods)relationships among objects2.Class...

2019-03-26 21:37:45 285

原创 shell script

Introduction

2019-03-25 21:33:59 88

原创 PHP数组常见操作

PHP常用数组操作

2016-12-16 15:36:46 273

原创 【总结Ⅱ】CI开发文档

自动加载文件autoload.php解析

2016-11-15 10:24:36 344

原创 【总结Ⅰ】CI开发文档

【总结】CI开发文档

2016-11-14 22:07:26 322

原创 【总结】慕课网jQuery基础

jQuery基础——事件篇

2016-11-06 13:12:11 236

原创 【总结】慕课网jQuery基础

jQuery基础——DOM篇1.DOM节点的创建 常见的就是直接把这个节点的结构给通过HTML标记字符串描述出来,通过$()函数处理,$(“html结构”) 例:\$("<div class='right'><div class='aaron'>动态创建DIV元素节点</div></div>")2.DOM节点的插入内部插入append()与appendTo(),prepend()与prepen

2016-11-05 22:17:08 408

原创 【总结】慕课网 jQuery基础

【总结】慕课网 jQuery基础jQuery基础——样式篇1.初识jQuery 2.jQuery选择器3.jQuery的属性与样式

2016-11-05 15:23:51 358

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除