You have to pass in true to confirm you really want to do it

@param bool $sure

@return Database
@throws \InvalidArgumentException
@throws DoctrineStaticMetaException
191261
public function create($sure): Database
    {
        if (true !== $sure) {
            $this->throwUnsure();
        }
        $link = $this->connect();
        $sql  = 'CREATE DATABASE IF NOT EXISTS `'
                . $this->config->get(ConfigInterface::PARAM_DB_NAME)
                . '` CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci';
        if (true !== mysqli_query($link, $sql)) {
            throw new DoctrineStaticMetaException(
                'Failed to create the database '
                . $this->config->get(ConfigInterface::PARAM_DB_NAME)
            );
        }

        return $this;
    }
663116
public function withInitializable(bool $initializable): self
    {
        $metadata = clone $this;
        $metadata->initializable = $initializable;

        return $metadata;
    }
159756
public function setConfirmationType($value)
    {
        if ($value === null || $value === '') {
            $this->_confirmationTypes = null;
        } elseif (TypeCast::canCastToEnumString($value)) {
            if (!ConfirmationType::valueExists((string)$value)) {
                throw new \InvalidArgumentException('Invalid confirmation_type value: "' . $value . '"');
            }
            $this->_confirmationTypes = $value;
        } else {
            throw new \InvalidArgumentException('Invalid confirmation_type value type: "' . gettype($value) . '"');
        }
    }
422876
public function setRequired(bool $required = true)
    {
        if ($required) {
            $this->field->addProp('required');
        } else {
            $this->field->removeProp('required');
        }

        return $this;
    }
1373912
public function copy( $deep = false )
    {
        $data = $this->data;
        foreach( static::$keyProperties as $key ) {
            $data[$key] = null;
        }

        foreach( $data as $key => $value ) {
            if( is_object( $value ) and !( $value instanceof self ) ) {
                $data[$key] = clone $value;
            }
        }

        // have repository?
        try {
            if( $repository = $this->r() ) {
                $entity = $repository->make( $data );
                return $entity;
            }
        } catch ( EntityMissingEntityManagerException $e ) {
        }

        $entity = clone $this;
        $entity->data = $data;

        return $entity;
    }
1285334
public function run($query = false, $exception = true)
    {

        if (true === $query) {
            return $this->resolveQuery($this->query);
        }

        list($prepare, $resolved) = $this->resolvePreparedStatement($this->query, $this->params);

        if (false === $resolved) {
            if (true === $exception) {
                $this->resolveQueryException();
            }
        }

        return $prepare;
    }
439613
public function includeInactive($enable = true)
    {
        $this->includeInactive = (bool) $enable;

        $this->refreshSettingDependentCriteria();

        return $this;
    }
642632
public function doConfirm()
    {
        if ($this->isConfirmable()) {
            $this->status = self::STATUS_CONFIRMED;

            $this->save();
        }

        return $this;
    }
1278571
public function getIsConfirmed()
    {
        $cAttribute = $this->confirmationAttribute;
        return (is_string($cAttribute) && !empty($cAttribute)) ? $this->$cAttribute > static::$confirmFalse : true;
    }
1309196
public function bool()
    {
        if (!is_bool($this->value)) {
            throw new InvalidBoolException($this->name, $this->value);
        }

        return $this;
    }
494037
public function build($attributes = array(), $exists = false)
    {
        $class = $this->getEntityClass();
        $entity = new $class($this, $attributes, $exists);
        return $entity;
    }
605015
public function setSearch(bool $search): self
    {
        if (!$this instanceof Attributable) {
            return $this;
        }

        $searchOption = 'data-selectAR--search';
	    $search ? $this->setAttribute($searchOption, true) : $this->removeAttribute($searchOption);

	    if ($this->hasAttribute('data-selectAR')) {
	    	$this->removeAttribute('data-selectAR');
	    }
        
        return $this;
    }
192943
public function schemaBuilder(bool $locate = true): SchemaBuilder
    {
        /**
         * @var SchemaBuilder $builder
         */
        $builder = $this->getFactory()->make(SchemaBuilder::class, ['manager' => $this->manager]);

        if ($locate) {
            foreach ($this->locator->locateSchemas() as $schema) {
                $builder->addSchema($schema);
            }

            foreach ($this->locator->locateSources() as $class => $source) {
                $builder->addSource($class, $source);
            }
        }

        return $builder;
    }
951606
public function isConfirmed( $strict = true ) {

		if( $strict ) {

			return $this->status == self::STATUS_CONFIRMED;
		}

		return $this->status >= self::STATUS_CONFIRMED;
	}
143494
public function convertToDatabaseValue($value, AbstractPlatform $platform)
    {
        if (null === $value || '' === $value) {
            return $value;
        }

        if ( ! $value instanceof Money) {
            $type = is_object($value) ? get_class($value) : gettype($value);
            throw new \InvalidArgumentException(sprintf('You have to pass an object of kind \SerendipityHQ\Component\ValueObjects\Money\Money to use the Doctrine type MoneyType. "%s" passed instead.', $type));
        }

        return $value->getBaseAmount() . '-' . $value->getCurrency()->getCode();
    }
1056275
public function createFromExistingPath(string $path): File
    {
        $file = new File($path);
        if (false === $file->exists()) {
            throw new DoctrineStaticMetaException('File does not exist at ' . $path);
        }

        return $file;
    }
335353
public function force(bool $master = true): self
    {
        if ($master) {
            $this->node = Pool::MASTER;
        }

        return $this;
    }