public function create(ImportsTable $table, ImportEntity $entity, string $filename) : bool
    {
        $modelName = $this->request->getParam('controller');
        if ($this->request->getParam('plugin')) {
            $modelName = $this->request->getParam('plugin') . '.' . $modelName;
        }

        $data = [
            'filename' => $filename,
            'status' => $table::STATUS_PENDING,
            'model_name' => $modelName,
            'attempts' => 0
        ];

        $entity = $table->patchEntity($entity, $data);

        return (bool)$table->save($entity);
    }