Collection::makeVisible()

$this makeVisible(array|string $attributes) Make the given, typically hidden, attributes visible across the entire collection. Parameters array|string $attributes Return Value $this

Collection::makeHidden()

$this makeHidden(array|string $attributes) Make the given, typically visible, attributes hidden across the entire collection. Parameters array|string $attributes Return Value $this

Collection::make()

static Collection make(mixed $items = array()) Create a new collection instance if the value isn't one already. Parameters mixed $items Return Value Collection

Collection::macro()

static void macro(string $name, callable $macro) Register a custom macro. Parameters string $name callable $macro Return Value void

Collection::load()

$this load(mixed $relations) Load a set of relationships onto the collection. Parameters mixed $relations Return Value $this

Collection::macro()

static void macro(string $name, callable $macro) Register a custom macro. Parameters string $name callable $macro Return Value void

Collection::last()

mixed last(callable $callback = null, mixed $default = null) Get the last item from the collection. Parameters callable $callback mixed $default Return Value mixed

Collection::keys()

Collection keys() Get the keys of the collection items. Return Value Collection

Collection::last()

mixed last(callable $callback = null, mixed $default = null) Get the last item from the collection. Parameters callable $callback mixed $default Return Value mixed

Collection::keys()

Collection keys() Get the keys of the collection items. Return Value Collection