getName()) || !is_string($domain->getName())) { self::badInput("Name must be an string"); } } public static function add(DnsDomainsDbo $domain) { return 0; } public static function edit(DnsDomainsDbo $domain) { return 0; } }