CapsuleManagerTrait (Support\Traits)

CapsuleManagerTrait

trait CapsuleManagerTrait (View source)

Methods

void setAsGlobal()

Make this capsule instance available globally.

Container getContainer()

Get the IoC container instance.

void setContainer(Container $container)

Set the IoC container instance.

Details

void setAsGlobal()

Make this capsule instance available globally.

Return Value

void

Container getContainer()

Get the IoC container instance.

Return Value

Container

void setContainer(Container $container)

Set the IoC container instance.

Parameters

Container $container

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Support/Traits/CapsuleManagerTrait.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部