src/Console/Commands/AbstractGeneratorCommand.php
protected function isEloquent()
    {
        if ($this->isIndependent) {
            return false;
        }

        if ($this->option('no-eloquent')) {
            return false;
        }

        return $this->option('eloquent') ?: $this->getApi()->isEloquent();
    }
protected function isEloquent()
    {
        if ($this->isIndependent) {
            return false;
        }

        if ($this->option('no-eloquent')) {
            return false;
        }

        return $this->option('eloquent') ?: $this->getApi()->isEloquent();
    }
Determine whether a resource is eloquent or not

@return boolean