- foreach ($this->requirements as $requirement) {
- $label = '<comment>'.strtoupper($requirement).'</comment>';
- if (extension_loaded($requirement)) {
- $status = '<info>OK!</info>';
- $help = '';
- } else {
+ $label = '<comment>PDO Driver</comment>';
+ $status = '<info>OK!</info>';
+ $help = '';
+
+ if (!extension_loaded($this->getContainer()->getParameter('database_driver'))) {
+ $fulfilled = false;
+ $status = '<error>ERROR!</error>';
+ $help = 'Database driver "'.$this->getContainer()->getParameter('database_driver').'" is not installed.';
+ }
+
+ $rows = [];
+ $rows[] = [$label, $status, $help];
+
+ foreach ($this->functionExists as $functionRequired) {
+ $label = '<comment>'.$functionRequired.'</comment>';
+ $status = '<info>OK!</info>';
+ $help = '';
+
+ if (!function_exists($functionRequired)) {