Skip to content

[5.0] Methods not defined in the Application Contract used by Kernal's bootstrap Method. #7344

@snjypl

Description

@snjypl

hasBeenBootstrapped and bootstrapWith method is missing in the Application contract.

It's used in Illuminate\Foundation\Http\Kernal bootstrap method.

/**
* Bootstrap the application for HTTP requests.
*
* @return void
*/
public function bootstrap()
{
    if (!$this->app->hasBeenBootstrapped()) {
        $this->app->bootstrapWith($this->bootstrappers());
    }
}

The two methods (hasBeenBootstrapped and bootstrapWith) are NOT present in the Application interface.

I tried to add those methods in the interface, but my pull request is failing build test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions