1 | <?php |
||
17 | class OneToOne extends AbstractRelation |
||
18 | { |
||
19 | use Owning, Ownable, Primary, Macroable, QueuesMacros; |
||
20 | |||
21 | /** |
||
22 | * @param ClassMetadataBuilder $builder |
||
23 | * @param string $relation |
||
24 | * @param string $entity |
||
25 | * |
||
26 | 24 | * @return AssociationBuilder |
|
27 | */ |
||
28 | 24 | protected function createAssociation(ClassMetadataBuilder $builder, $relation, $entity) |
|
35 | |||
36 | /** |
||
37 | * @param string $method |
||
38 | * @param array $args |
||
39 | * |
||
40 | * @throws \BadMethodCallException |
||
41 | * @return $this |
||
42 | */ |
||
43 | public function __call($method, $args) |
||
51 | |||
52 | } |
||
53 |