src/MVC/Relations/BelongsTo.php
protected function setCurrent($model)
    {
        $this->currentModel = get_class($model);
        $this->currentTable = $this->getTable($model);
    }
protected function setCurrent($model)
    {
        $this->currentModel = get_class($model);
        $this->currentTable = $this->getTable($model);
    }
protected function setCurrent ( $ model ) { $ this -> currentModel = get_class ( $ model ) ; $ this -> currentTable = $ this -> getTable ( $ model ) ; }
set current model name and data table name.

@param $model object
set current model name and data table name .