public function setTenantor(?Tenantor $tenantor)
    {
        $this->tenantor = $tenantor;
        $this->connection = $tenantor->getTenantConnectionName();

        $this->setTable($this->getTenantTable());

        return $this;
    }
public function setTenantor(?Tenantor $tenantor)
    {
        $this->tenantor = $tenantor;
        $this->connection = $tenantor->getTenantConnectionName();

        $this->setTable($this->getTenantTable());

        return $this;
    }
public function setTenantor ( ? Tenantor $ tenantor ) { $ this -> tenantor = $ tenantor ; $ this -> connection = $ tenantor -> getTenantConnectionName ( ) ; $ this -> setTable ( $ this -> getTenantTable ( ) ) ; return $ this ; }
Get the tenantor associated with the model.

@param  \Orchestra\Tenanti\Tenantor|null  $tenantor

@return $this
Get the tenantor associated with the model .