public function findBy(string
$property,
[mixed
$value = false,
[bool
$all = false]] )
Parameters
$property
—
string
name of property to match against
$value
—
mixed
value to match property against
$all
—
object
[optional] whether an array of all matching pages should be returned, or only the first. If true, an array will be returned, even if not matching pages are found. If false, null will be returned if no matching page is found. Default is false.