getClassAnnotations($className) ) { # Should generate an equivalent of Ulmus's object reflection here ! if ( $annotation->key ) { return $annotation; } } return null; } protected function getClassAnnotations(string $className) : ? \Notes\Annotation { $objectResolver = new ObjectResolver($className, true, true, false, true); try { if ( null !== ( $object = $objectResolver->getAnnotationFromClassname( Annotation\Language::class ) ) ) { return $object; } } catch(\Exception $e) { return null; } } }