<?php namespace App\Http\Requests;

use App\Http\Requests\Request;

class WriteNoteRequest extends Request {

	/**
	 * Determine if the user is authorized to make this request.
	 *
	 * @return bool
	 */
	public function authorize()
	{
		return false;
	}

	/**
	 * Get the validation rules that apply to the request.
	 *
	 * @return array
	 */
	public function rules()
	{
		return [
			//
		];
	}

}

<?php namespace App\Http\Requests;

use App\Http\Requests\Request;

class WriteNoteRequest extends Request {

	/**
	 * Determine if the user is authorized to make this request.
	 *
	 * @return bool
	 */
	public function authorize()
	{
		return false;
	}

	/**
	 * Get the validation rules that apply to the request.
	 *
	 * @return array
	 */
	public function rules()
	{
		return [
			'title' => 'required|min:4',
            'body'  => 'requried|min:10',
            'public' => 'boolean'
		];
	}

}

Add the rules to ensure the notes params conform to some custom rules.
Add the rules to ensure the notes params conform to some custom rules.
