AwsInspector\Model\Route53\Repository::findByRecordSetNameAndType PHP Method

findByRecordSetNameAndType() public method

public findByRecordSetNameAndType ( $recordSetName, $type )
    public function findByRecordSetNameAndType($recordSetName, $type)
    {
        $recordSetsForName = $this->findByRecordSet($recordSetName);
        if (count($recordSetName) == 0) {
            return [];
        } elseif (!isset($recordSetsForName[$type])) {
            return [];
        } else {
            return $recordSetsForName[$type];
        }
    }