Amranidev\ScaffoldInterface\ManyToMany\ManyToMany::model PHP Method

model() private method

Add relationships mothods to models.
private model ( ) : void
return void
    private function model()
    {
        $this->relationship(app_path(ucfirst(str_singular($this->tables['first']))) . '.php', $this->tables['second']);
        $this->relationship(app_path(ucfirst(str_singular($this->tables['second']))) . '.php', $this->tables['first']);
    }