invoiceninja/app/Http/Requests/ClientRequest.php
2016-04-28 15:23:09 +03:00

27 lines
446 B
PHP

<?php namespace App\Http\Requests;
class ClientRequest extends BaseRequest {
protected $entityType = ENTITY_CLIENT;
public function entity()
{
return parent::entity()->load('contacts');
}
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [];
}
}