1public function store()
2{
3 $this->validate(request(), [
4 'song' => [function ($attribute, $value, $fail) {
5 if ($value <= 10) {
6 $fail(':attribute needs more cowbell!');
7 }
8 }]
9 ]);
10}
11