private function verifyVersion(Object $children) { Assertion::isInstanceOf($children, Integer::class, 'Unable to load the key'); Assertion::eq(1, $children->getContent(), 'Unable to load the key'); }