Get the model that is being referenced.

@return string
491214
public function getReferencesModel()
    {
        if (empty($this->referencesModel)) {
            $this->referencesModel = $this->getModelNamespace(ucfirst($this->getForeignModelName()));
        }

        return $this->referencesModel;
    }
137537
public function getExportModelSource()
    {
        if (! $this->_exportModelSource) {
            $this->_exportModelSource = $this->loader->getExportModelSource($this->exportModelSourceClass);
        }

        return $this->_exportModelSource;
    }
1190856
public function getSaldoModel()
    {
        $model = null;
        $saldoSec = $this->findSegment(static::SEG_ACCOUNT_INFORMATION);

        if (is_string($saldoSec)) {
            $saldoSec = $this->splitSegment($saldoSec);
            array_shift($saldoSec); // get rid of header
            $model = $this->createModelFromArray($saldoSec);
        }

        return $model;
    }
974136
protected function getRelationType()
    {
        list($model, $attribute) = $this->resolveModelAttribute($this->valueFrom);
        return $model->getRelationType($attribute);
    }
235076
protected function getModel()
    {
        $modelClass = trim($this->argument('model'));

        $modelInstance = new $modelClass;

        if (
            ! ($modelInstance instanceof Model) ||
            ! in_array(Searchable::class, class_uses_recursive($modelClass))
        ) {
            throw new InvalidArgumentException(sprintf(
                'The %s class must extend %s and use the %s trait.',
                $modelClass,
                Model::class,
                Searchable::class
            ));
        }

        return $modelInstance;
    }
467640
public function getModelDisplayName()
    {
        $instance = $this->getModelInstance();
        $display = isset($instance->display) ? $instance->display : ucfirst($this->model);

        return $display;
    }
350131
public function referencing(Model $model)
    {
        $references = [];

        // TODO: SchemaManager should do this
        foreach ($this->schemas as $schema) {
            $references = array_merge($references, $schema->referencing($model->getBlueprint()));
        }

        // TODO: ModelManager should do this
        foreach ($references as &$related) {
            $blueprint = $related['blueprint'];
            $related['model'] = $model->getBlueprint()->is($blueprint->schema(), $blueprint->table())
                ? $model
                : $this->makeModel($blueprint->schema(), $blueprint->table(), false);
        }

        return $references;
    }
1157187
public function getReference()
    {
        return $this->getType() === Source::Order
            ? $this->source->reference
            : Configuration::get('PS_CREDIT_SLIP_PREFIX', Context::getContext()->language->id) . sprintf('%06d', $this->source->id);
    }
370228
public function getExtensionModel()
    {
        if ($this->extensionModel === null) {
            $this->load->model('extension/extension');
            /** @noinspection PhpUndefinedFieldInspection */
            $this->extensionModel = $this->model_extension_extension;
        }
        return $this->extensionModel;
    }
312372
public function getEventModel()
    {
        if ($this->eventModel === null) {
            $this->load->model('extension/event');
            /** @noinspection PhpUndefinedFieldInspection */
            $this->eventModel = $this->model_extension_event;
        }
        return $this->eventModel;
    }
1274857
public function getModel() {
        if (!$this->model)
            return null;

        $data = $this->data;
        if ($this->isValid() && $this->model) {
            foreach ($this->fieldsets as $name) {
                if (!isset($this->elements[$name]))
                    continue;

                $fieldset = $this->elements[$name]->options->value;
                $fieldsetModel = $fieldset->getModel();
                $data[$name] = $fieldsetModel ? $fieldsetModel : $fieldset->getData();
            }
            $this->model->populate($data);
        }

        return $this->model;
    }
1036031
public function getName()
	{
		if(false === isset(self::$modelNameMap[$this->revision])) {
            return 'unknown';
        }

		return self::$modelNameMap[$this->revision];
	}
1082732
public function getModel() {
        $model = new $this->_options['model']();
        foreach ($this->_options['bindings'] as $binding => $bindingOptions) {
            if (is_numeric($binding)) {
                $model->bindModel($bindingOptions);
            } elseif (is_string($binding)) {
                $model->bindModel($binding, $bindingOptions);
            }
        }
        return $model;
    }
564533
public function pivotModel()
    {
        if (!isset($this->pivotModel)) {
            $this->pivotModel = $this->modelFactory()->get(Join::class);
        }

        return $this->pivotModel;
    }
785665
public function get()
    {
        $modelResult = $this->getRequest()->request(
            'GET',
            $this->getRequestUrl('models')
        );

        return $this->getModelsFromResult($modelResult);
    }
588884
public function getModel()
    {
        // Use explicilty set model
        if ($this->model) {
            return $this->model;
        }

        // Get the model instance that was passed to Former by the Base Controller
        $model = app('former.populator')->all();

        // Make sure it's a model instance
        if (is_a($model, 'Illuminate\Database\Eloquent\Model')) {
            return $model;
        }
    }
994750
private function getActiveModel()
    {
        $input = $this->getEnvironment()->getInputProvider();
        if (false === $input->hasParameter('id')) {
            return null;
        }

        $modelId      = ModelId::fromSerialized($input->getParameter('id'));
        $dataProvider = $this->getEnvironment()->getDataProvider($modelId->getDataProviderName());

        $model = $dataProvider->fetch($dataProvider->getEmptyConfig()->setId($modelId->getId()));

        return $model;
    }