public function isAllowed($entry)
    {
        foreach ($this->entries as $elmt) {
            if ($elmt->check($entry)) {
                return $this->matchingResponse;
            }
        }

        return null;
    }
public function isAllowed($entry)
    {
        foreach ($this->entries as $elmt) {
            if ($elmt->check($entry)) {
                return $this->matchingResponse;
            }
        }

        return null;
    }
public function isAllowed ( $ entry ) { foreach ( $ this -> entries as $ elmt ) { if ( $ elmt -> check ( $ entry ) ) { return $ this -> matchingResponse ; } } return null ; }
Whether or not the Entry is allowed by this list

@param string $entry Entry

@return boolean|null TRUE = allowed, FALSE = rejected, NULL = not handled
Whether or not the Entry is allowed by this list