Roles
Extension of the Collection class that introduces Roles::factory()
to convert an array of role definitions into a proper collection with Role objects. It also has a Roles::load()
method that handles loading role definitions from disk.
- $roles->add()
- $roles->append()
- $roles->canBeChanged()
- $roles->canBeCreated()
- $roles->chunk()
- $roles->clone()
- $roles->count()
- $roles->current()
- $roles->data()
- $roles->empty()
- $roles->extend()
- $roles->filter()
- $roles->filterBy()
- $roles->find()
- $roles->findBy()
- $roles->findByKey()
- $roles->first()
- $roles->flip()
- $roles->get()
- $roles->getAttribute()
- $roles->getIterator()
- $roles->group()
- $roles->groupBy()
- $roles->has()
- $roles->indexOf()
- $roles->intersection()
- $roles->intersects()
- $roles->isEmpty()
- $roles->isEven()
- $roles->isNotEmpty()
- $roles->isOdd()
- $roles->key()
- $roles->keyOf()
- $roles->keys()
- $roles->last()
- $roles->limit()
- $roles->map()
- $roles->next()
- $roles->not()
- $roles->nth()
- $roles->offset()
- $roles->paginate()
- $roles->pagination()
- $roles->parent()
- $roles->pluck()
- $roles->prepend()
- $roles->prev()
- $roles->query()
- $roles->random()
- $roles->remove()
- $roles->rewind()
- $roles->search()
- $roles->set()
- $roles->shuffle()
- $roles->slice()
- $roles->sort()
- $roles->sortBy()
- $roles->toArray()
- $roles->toJson()
- $roles->toString()
- $roles->valid()
- $roles->values()
- $roles->when()
- $roles->without()
- new Roles()
- Roles::factory()
- Roles::load()
- Roles::sortArgs()