PHP Class LukePOLO\LaraCart\Tests\Models\TestItem

Show file Open project: lukepolo/laracart

Public Properties

Property Type Description
$id
$name
$price
$tax
$taxable

Protected Properties

Property Type Description
$guarded

Public Methods

Method Description
find ( $id ) Finds the id of this model.
with ( array | string $relations ) : Builder | static Begin querying a model with eager loading.

Method Details

find() public method

Finds the id of this model.
public find ( $id )
$id

with() public static method

Begin querying a model with eager loading.
public static with ( array | string $relations ) : Builder | static
$relations array | string
return Illuminate\Database\Eloquent\Builder | static

Property Details

$guarded protected property

protected $guarded

$id public property

public $id

$name public property

public $name

$price public property

public $price

$tax public property

public $tax

$taxable public property

public $taxable