collection::findBy

Find a single item by a key and value pair

collection::findBy($key, $value)

Parameters

$key (string)
$value (mixed)

Return values

mixed