public function getStatementManager($statementClass = Simple::class)
    {
        /** @var StatementManager $statementManager */
        $statementManager = new $statementClass($this->config, $this);

        $collectionClass = $this->getCollectionClass();

        if (!$statementManager instanceof StatementManager) {
            throw new \Exception($statementClass.' is not an instance of Deasil\CEF\StatementManager.');
        }

        $statementManager->setResultContainerClass($collectionClass);

        return $statementManager;
    }