public function loadBootstrap()
    {
        if (null !== ($file = $this->getBootstrapFile())) {
            if (false === file_exists($file)) {
                throw new InvalidArgumentException(
                    sprintf(
                        'The bootstrap path "%s" is not a file or does not exist.',
                        $file
                    )
                );
            }

            /** @noinspection PhpIncludeInspection */
            include $file;
        }
    }
public function loadBootstrap()
    {
        if (null !== ($file = $this->getBootstrapFile())) {
            if (false === file_exists($file)) {
                throw new InvalidArgumentException(
                    sprintf(
                        'The bootstrap path "%s" is not a file or does not exist.',
                        $file
                    )
                );
            }

            /** @noinspection PhpIncludeInspection */
            include $file;
        }
    }
public function loadBootstrap ( ) { if ( null !== ( $ file = $ this -> getBootstrapFile ( ) ) ) { if ( false === file_exists ( $ file ) ) { throw new InvalidArgumentException ( sprintf ( 'The bootstrap path "%s" is not a file or does not exist.' , $ file ) ) ; } /** @noinspection PhpIncludeInspection */ include $ file ; } }
Loads the configured bootstrap file if available.
Loads the configured bootstrap file if available .