find() public static méthode

Filter and return entries that match any of specified patterns.
public static find ( string | string[] $pattern, string[] $entries ) : string[]
$pattern string | string[]
$entries string[]
Résultat string[]
Exemple #1
0
 /**
  * @override
  * @inheritDoc
  */
 public function filterConnected($pattern)
 {
     return StringSupport::find($pattern, $this->getConnected());
 }