src/Rocketeer/Services/Bootstrapper/Modules/ConfigurationBootstrapper.php
protected function bootstrapDotenv()
    {
        if (!$this->files->has($this->paths->getDotenvPath())) {
            return;
        }

        $path = $this->files->getAdapter()->applyPathPrefix($this->paths->getBasePath());
        $dotenv = new Dotenv($path);
        $dotenv->load();
    }
protected function bootstrapDotenv()
    {
        if (!$this->files->has($this->paths->getDotenvPath())) {
            return;
        }

        $path = $this->files->getAdapter()->applyPathPrefix($this->paths->getBasePath());
        $dotenv = new Dotenv($path);
        $dotenv->load();
    }
protected function bootstrapDotenv ( ) { if ( ! $ this -> files -> has ( $ this -> paths -> getDotenvPath ( ) ) ) { return ; } $ path = $ this -> files -> getAdapter ( ) -> applyPathPrefix ( $ this -> paths -> getBasePath ( ) ) ; $ dotenv = new Dotenv ( $ path ) ; $ dotenv -> load ( ) ; }
Load the .env file if necessary.
Load the . env file if necessary .