PHP Interface Stevemo\Cpanel\Group\Form\GroupFormInterface

Show file Open project: stevemo/cpanel Interface Usage Examples

Public Methods

Method Description
create ( array $data ) : Bool Create a new Group
getErrors ( ) : Illuminate\Support\MessageBag Get the validator error
update ( array $data ) : Bool Update a group

Method Details

create() public method

Create a new Group
Author: Steve Montambeault
public create ( array $data ) : Bool
$data array
return Bool

getErrors() public method

Get the validator error
Author: Steve Montambeault
public getErrors ( ) : Illuminate\Support\MessageBag
return Illuminate\Support\MessageBag

update() public method

Update a group
Author: Steve Montambeault
public update ( array $data ) : Bool
$data array
return Bool