今天统治之前的拉拉维尔...怎么做
对于此规则,我收到错误syntax error, unexpected '.', expecting ')'
public static $rules = array(
'first_name' => 'required|alpha-dash',
'last_name' => ' required|alpha-dash',
'media_release' => 'required|boolean',
'birthday' => 'before:' . date('Y-m-d')
);
我不明白为什么这行不通。我正在运行 Laravel 4.2.12