これは - >と=>を使用したコードです。laravelの - >と=>の違い
しかし、私はいつも混乱しています。その時にコードを書いていますが、どこで使うのですか。
したがって、そのロジックを簡単に覚えておきましょう。
$quan= $request->all();
ChaiExl::create(['date'=>date('Y-m-d',strtotime($quan['dt'])),'quantity'=>$quan['quan']]);
return view('edit',['row'=>$row]);
http://stackoverflow.com/questions/3737139/reference-what-does-this-symbol-mean-in-php?rq=1【参考の –
可能な重複 - 何このシンボルPHPで意味ですか?](http://stackoverflow.com/questions/3737139/reference-what-does-this-symbol-mean-in-php) – Option