private function checkConnect(): void
    {
        if (empty($this->connect['type']) ||
            empty($this->connect['host']) ||
            empty($this->connect['name']) ||
            empty($this->connect['user'])
        ) {
            throw new ConfigurationException(
                'Database adapter is not configured.
                Please check `db` configuration section: required type, host, db name and user'
            );
        }
    }
private function checkConnect(): void
    {
        if (empty($this->connect['type']) ||
            empty($this->connect['host']) ||
            empty($this->connect['name']) ||
            empty($this->connect['user'])
        ) {
            throw new ConfigurationException(
                'Database adapter is not configured.
                Please check `db` configuration section: required type, host, db name and user'
            );
        }
    }
private function checkConnect ( ) : void { if ( empty ( $ this -> connect [ 'type' ] ) || empty ( $ this -> connect [ 'host' ] ) || empty ( $ this -> connect [ 'name' ] ) || empty ( $ this -> connect [ 'user' ] ) ) { throw new ConfigurationException ( 'Database adapter is not configured.
                Please check `db` configuration section: required type, host, db name and user' ) ; } }
Check connection options

@return void
@throws ConfigurationException
Check connection options