public function entityCreated(RepositoryContract $repository, $entity)
    {
        $clearOn = $repository->getContainer('config')->get('rinvex.repository.cache.clear_on');

        if ($repository->isCacheClearEnabled() && in_array('create', $clearOn)) {
            $repository->forgetCache();
        }
    }