PHP Trait LukePOLO\LaraCart\Traits\CartOptionsMagicMethodsTrait

Datei anzeigen Open project: lukepolo/laracart

Public Properties

Property Type Description
$options

Public Methods

Method Description
__get ( $option ) : mixed | null Magic Method allows for user input as an object.
__isset ( $option ) : boolean Magic Method allows for user to check if an option isset.
__set ( $option, $value ) Magic Method allows for user input to set a value inside the options array.

Method Details

__get() public method

Magic Method allows for user input as an object.
public __get ( $option ) : mixed | null
$option
return mixed | null | null

__isset() public method

Magic Method allows for user to check if an option isset.
public __isset ( $option ) : boolean
$option
return boolean

__set() public method

Magic Method allows for user input to set a value inside the options array.
public __set ( $option, $value )
$option
$value

Property Details

$options public_oe property

public $options