src/LdapTools/Security/Acl/Acl.php
public function hasAce(Ace ...$aces)
    {
        $inArray = false;

        foreach ($aces as $ace) {
            $inArray = in_array($ace, $this->aces, true);
        }

        return $inArray;
    }
public function hasAce(Ace ...$aces)
    {
        $inArray = false;

        foreach ($aces as $ace) {
            $inArray = in_array($ace, $this->aces, true);
        }

        return $inArray;
    }
public function hasAce ( Ace ... $ aces ) { $ inArray = false ; foreach ( $ aces as $ ace ) { $ inArray = in_array ( $ ace , $ this -> aces , true ) ; } return $ inArray ; }
Check if an ACE, or multiple ACEs, exist within this ACL.

@param Ace[] ...$aces
@return bool
Check if an ACE or multiple ACEs exist within this ACL .