src/DcGeneral/Data/Driver.php
public function getEmptyModel()
    {
        if (!isset($this->dispatcher)) {
            // @codingStandardsIgnoreStart
            @trigger_error(
                'Not setting an "' . EventDispatcherInterface::class .
                '" via "setDispatcher()" is deprecated and will cause an error in MetaModels 3.0.',
                E_USER_DEPRECATED
            );
            // @codingStandardsIgnoreEnd
        }

        $objItem = new Item($this->getMetaModel(), null, $this->dispatcher);
        return new Model($objItem);
    }
public function getEmptyModel()
    {
        if (!isset($this->dispatcher)) {
            // @codingStandardsIgnoreStart
            @trigger_error(
                'Not setting an "' . EventDispatcherInterface::class .
                '" via "setDispatcher()" is deprecated and will cause an error in MetaModels 3.0.',
                E_USER_DEPRECATED
            );
            // @codingStandardsIgnoreEnd
        }

        $objItem = new Item($this->getMetaModel(), null, $this->dispatcher);
        return new Model($objItem);
    }
Fetch an empty single record (new item).

@return ModelInterface