PHP 트레잇 LukePOLO\LaraCart\Tests\LaraCartTestTrait

파일 보기 프로젝트 열기: lukepolo/laracart

공개 메소드들

메소드 설명
setUp ( ) Setup the test functions with laracart.

보호된 메소드들

메소드 설명
getEnvironmentSetUp ( $app ) Default tax setup.
getPackageProviders ( $app ) : array Sets the package providers.

비공개 메소드들

메소드 설명
addItem ( integer $qty = 1, integer $price = 1, boolean $taxable = true, array $options = [] ) : mixed Easy way to add an item for many tests.

메소드 상세

getEnvironmentSetUp() 보호된 메소드

Default tax setup.
protected getEnvironmentSetUp ( $app )
$app

getPackageProviders() 보호된 메소드

Sets the package providers.
protected getPackageProviders ( $app ) : array
$app
리턴 array

setUp() 공개 메소드

Setup the test functions with laracart.
public setUp ( )