$pages->keyOf($needle)

Tries to find the key for the given element

  • $needle (mixed)
    the element to search for
  • return (mixed)
    the name of the key or false

This documentation entry is inherited from the Collection class.


Is something missing or incorrect? Edit this page on Github…