src/Core/Application.php
public function isDownForMaintenance()
    {
        $filePath = $this->wordpressPath('.maintenance');

        if (function_exists('wp_installing') && ! file_exists($filePath)) {
            return \wp_installing();
        }

        return file_exists($filePath);
    }
public function isDownForMaintenance()
    {
        $filePath = $this->wordpressPath('.maintenance');

        if (function_exists('wp_installing') && ! file_exists($filePath)) {
            return \wp_installing();
        }

        return file_exists($filePath);
    }
public function isDownForMaintenance ( ) { $ filePath = $ this -> wordpressPath ( '.maintenance' ) ; if ( function_exists ( 'wp_installing' ) && ! file_exists ( $ filePath ) ) { return \ wp_installing ( ) ; } return file_exists ( $ filePath ) ; }
Determine if the application is currently down for maintenance.

@throws \Illuminate\Container\EntryNotFoundException

@return bool
Determine if the application is currently down for maintenance .