src/ConstructionKitBuildingBlocksDetector.php
protected function checkSettings()
    {
        $io = $this->event->getIO();

        if ($this->disabled) {
            $io->write('<info>[C33sConstructionKitBundle] C33sConstructionKit is disabled</info>');

            return false;
        }

        if (!is_dir($this->appDir)) {
            $currentDir = getcwd();
            $io->write("<warning>[C33sConstructionKitBundle] The symfony-app-dir {$this->appDir} specified in composer.json was not found in {$currentDir}. Cannot generate building blocks file.</warning>");

            return false;
        }

        return true;
    }
protected function checkSettings()
    {
        $io = $this->event->getIO();

        if ($this->disabled) {
            $io->write('<info>[C33sConstructionKitBundle] C33sConstructionKit is disabled</info>');

            return false;
        }

        if (!is_dir($this->appDir)) {
            $currentDir = getcwd();
            $io->write("<warning>[C33sConstructionKitBundle] The symfony-app-dir {$this->appDir} specified in composer.json was not found in {$currentDir}. Cannot generate building blocks file.</warning>");

            return false;
        }

        return true;
    }
protected function checkSettings ( ) { $ io = $ this -> event -> getIO ( ) ; if ( $ this -> disabled ) { $ io -> write ( '<info>[C33sConstructionKitBundle] C33sConstructionKit is disabled</info>' ) ; return false ; } if ( ! is_dir ( $ this -> appDir ) ) { $ currentDir = getcwd ( ) ; $ io -> write ( "<warning>[C33sConstructionKitBundle] The symfony-app-dir {$this->appDir} specified in composer.json was not found in {$currentDir}. Cannot generate building blocks file.</warning>" ) ; return false ; } return true ; }
Check various settings before performing any updates.

@return bool
Check various settings before performing any updates .