src/MVC/Model/ORM_.php
public function hasOne($model, $local = null, $remote = null)
     {
         return (new OneToOne())->ini($model, $this, $local, $remote);
     }
public function hasOne($model, $local = null, $remote = null)
     {
         return (new OneToOne())->ini($model, $this, $local, $remote);
     }
public function hasOne ( $ model , $ local = null , $ remote = null ) { return ( new OneToOne ( ) ) -> ini ( $ model , $ this , $ local , $ remote ) ; }
The has one relation for one to one.

@param $model : the model wanted to be related to the
current model
@param $local : if not null would be the local column
of the relation
@param $remote : if not null would be the $remote column
of the relation
The has one relation for one to one .