summaryrefslogtreecommitdiffstats
path: root/vendor/ipl/orm/src/Relation/BelongsTo.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/ipl/orm/src/Relation/BelongsTo.php')
-rw-r--r--vendor/ipl/orm/src/Relation/BelongsTo.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/ipl/orm/src/Relation/BelongsTo.php b/vendor/ipl/orm/src/Relation/BelongsTo.php
new file mode 100644
index 0000000..1edcff3
--- /dev/null
+++ b/vendor/ipl/orm/src/Relation/BelongsTo.php
@@ -0,0 +1,13 @@
+<?php
+
+namespace ipl\Orm\Relation;
+
+use ipl\Orm\Relation;
+
+/**
+ * Inverse of a one-to-one or one-to-many relationship
+ */
+class BelongsTo extends Relation
+{
+ protected $inverse = true;
+}