Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/Illuminate/Contracts/Foundation/Application.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php namespace Illuminate\Contracts\Foundation;

use Closure;
use Illuminate\Contracts\Container\Container;

interface Application extends Container {
Expand Down Expand Up @@ -75,4 +76,19 @@ public function booting($callback);
*/
public function booted($callback);

/**
* Get the environment file the application is using.
*
* @return string
*/
public function environmentFile();

/**
* Detect the application's current environment.
*
* @param Closure $callback
* @return string
*/
public function detectEnvironment(Closure $callback);

}