Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Codeception
Module
Laravel5
grabService
Codeception\Module\Laravel5::grabService PHP 메소드
Laravel5 1 문서
파일 보기
프로젝트 열기: janhenkgerritsen/codeception-laravel5
grabService()
공개
메소드
(http://laravel.com/docs/ioc) Example
php grabService('foo'); Will return an instance of FooBar, also works for singletons. ?>
public
grabService
(
string
$class
) :
mixed
$class
string
리턴
mixed
public function grabService($class) { return $this->app[$class]; }
Laravel5
__construct
_after
_afterStep
_before
_initialize
actionWithNamespace
amLoggedAs
amOnAction
amOnRoute
bootApplication
dontSeeAuthentication
dontSeeRecord
findRecord
getApplication
getRootControllerNamespace
grabRecord
grabService
haveRecord
initializeLaravel
logout
revertErrorHandler
seeAuthentication
seeCurrentActionIs
seeCurrentRouteIs
seeFormErrorMessage
seeFormErrorMessages
seeFormHasErrors
seeInSession
seeRecord
seeSessionHasValues