diff options
Diffstat (limited to 'vendor/ipl/orm/src/Relation/BelongsTo.php')
-rw-r--r-- | vendor/ipl/orm/src/Relation/BelongsTo.php | 13 |
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; +} |