illuminate/html — pull request #16 by antonioribeiro (2014-11-03 18:18:36+00:00)
Title: Get value from objects or arrays inside objects

Having a array roles column:

```
public function getRolesAttribute()
{
return [0 => true, 1 => false];
}
```

We can now do

```
Form::checkbox('roles[0]')
```

Which will get the data using

```
data_get($this->model, 'roles.0');
```