File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 42
42
use ElementaryFramework \LightQL \Annotations \NamedQueryAnnotation ;
43
43
use ElementaryFramework \LightQL \Annotations \NotNullAnnotation ;
44
44
use ElementaryFramework \LightQL \Annotations \OneToManyAnnotation ;
45
+ use ElementaryFramework \LightQL \Annotations \OneToOneAnnotation ;
45
46
use ElementaryFramework \LightQL \Annotations \PersistenceUnitAnnotation ;
46
47
use ElementaryFramework \LightQL \Annotations \SizeAnnotation ;
47
48
use ElementaryFramework \LightQL \Annotations \UniqueAnnotation ;
@@ -81,6 +82,7 @@ public static function registerAnnotations()
81
82
$ manager ->registerAnnotation ("manyToMany " , ManyToManyAnnotation::class);
82
83
$ manager ->registerAnnotation ("manyToOne " , ManyToOneAnnotation::class);
83
84
$ manager ->registerAnnotation ("oneToMany " , OneToManyAnnotation::class);
85
+ $ manager ->registerAnnotation ("oneToOne " , OneToOneAnnotation::class);
84
86
$ manager ->registerAnnotation ("persistenceUnit " , PersistenceUnitAnnotation::class);
85
87
$ manager ->registerAnnotation ("namedQuery " , NamedQueryAnnotation::class);
86
88
}
You can’t perform that action at this time.
0 commit comments