PHP Class App\Http\Controllers\LobController

Inheritance: extends Controller
Mostra file Open project: unicodeveloper/laravel-hackathon-starter

Protected Properties

Property Type Description
$apikey string LOB API KEY
$lob object Instance of Lob

Public Methods

Method Description
__construct ( ) Initialize Lob
getPage ( ) : mixed Return all data to the Lob API dashboard

Private Methods

Method Description
getRoutes ( string $zipcode ) : array Get all delivery routes for this zip code

Method Details

__construct() public method

Initialize Lob
public __construct ( )

getPage() public method

Return all data to the Lob API dashboard
public getPage ( ) : mixed
return mixed

Property Details

$apikey protected_oe property

LOB API KEY
protected string $apikey
return string

$lob protected_oe property

Instance of Lob
protected object $lob
return object