Airship\Cabin\Bridge\Landing\Account::findMotif PHP Méthode

findMotif() protected méthode

Is this motif part of this cabin?
protected findMotif ( array $motifs, string $supplier, string $motifName ) : boolean
$motifs array
$supplier string
$motifName string
Résultat boolean
    protected function findMotif(array $motifs, string $supplier, string $motifName) : bool
    {
        foreach ($motifs as $id => $data) {
            if ($data['config']['supplier'] === $supplier && $data['config']['name'] === $motifName) {
                return true;
            }
        }
        return false;
    }