Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Codeception
Module
Laravel5
grabService
Codeception\Module\Laravel5::grabService PHP Method
Laravel5 Class Documentation
Mostra file
Open project: janhenkgerritsen/codeception-laravel5
grabService()
public
method
(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
return
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