LdapTools\AttributeConverter\ConvertGPLink::validateGPOLinks PHP Метод

    protected function validateGPOLinks(array $GPOs)
    {
        foreach ($GPOs as $GPO) {
            if (!$GPO instanceof GPOLink) {
                throw new AttributeConverterException('GPO links going to LDAP must be an instance of \\LdapTools\\Utilities\\GPOLink');
            }
        }
    }