AwsInspector\Model\AbstractResource::matchesTags PHP Method

matchesTags() public method

public matchesTags ( array $filter ) : boolean
$filter array
return boolean
    public function matchesTags(array $filter)
    {
        $tags = $this->getAssocTags();
        $patched = array_replace_recursive($tags, $filter);
        return $tags == $patched;
    }