src/MVC/Relations/BelongsTo.php
protected function checkModelType($model)
    {
        if (is_string($model)) {
            return $this->getTable($model);
        } elseif (is_object($model)) {
            return $this->getTable(get_class($model));
        }
    }
protected function checkModelType($model)
    {
        if (is_string($model)) {
            return $this->getTable($model);
        } elseif (is_object($model)) {
            return $this->getTable(get_class($model));
        }
    }
protected function checkModelType ( $ model ) { if ( is_string ( $ model ) ) { return $ this -> getTable ( $ model ) ; } elseif ( is_object ( $ model ) ) { return $ this -> getTable ( get_class ( $ model ) ) ; } }
get database table.

@param $model : mixed
get database table .