Commit af36c9d6 by 花生

Update concept-behaviors.md

增加` php代码正确显示
parent 1253109e
...@@ -267,7 +267,7 @@ class User extends ActiveRecord ...@@ -267,7 +267,7 @@ class User extends ActiveRecord
保存 `User` 对象,将会发现它的 `created_at``updated_at` 属性自动填充了当前时间戳: 保存 `User` 对象,将会发现它的 `created_at``updated_at` 属性自动填充了当前时间戳:
``php ```php
$user = new User; $user = new User;
$user->email = 'test@example.com'; $user->email = 'test@example.com';
$user->save(); $user->save();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment