Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

allow type-hinting#109

Open
h1884387 wants to merge 1 commit intolaracasts:master from
h1884387:h1884387-patch-1
Open

allow type-hinting #109
h1884387 wants to merge 1 commit intolaracasts:master from
h1884387:h1884387-patch-1

Conversation

@h1884387
Copy link

@h1884387 h1884387 commented Jul 6, 2017

No description provided.

dlett and iVegas reacted with thumbs up emoji
});

$this->app->alias('Laracasts\Flash\FlashNotifier', 'flash');
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to use ::class no?

 $this->app->singleton(FlashNotifier::class, function ($app) {
 return new FlashNotifier($app->make(SessionStore::class));
 });
 $this->app->alias(FlashNotifier::class, 'flash');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@SlyDave SlyDave SlyDave left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /