function Global / head
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

head

Get the first element of an array. Useful for method chaining.

Parameters

  • $array array