PHP Class App\Http\Controllers\ClockworkController

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

Protected Properties

Property Type Description
$apiKey mixed
$client MJErwin\Clockwork\ClockworkClient

Public Methods

Method Description
__construct ( ) Initialize ClockworkController
getPage ( ) Return all data to the Clockwork API dashboard
sendTextMessage ( Illuminate\Http\Request $request ) : Illuminate\Http\RedirectResponse Send a Text Message

Method Details

__construct() public method

Initialize ClockworkController
public __construct ( )

getPage() public method

Return all data to the Clockwork API dashboard
public getPage ( )

sendTextMessage() public method

Send a Text Message
public sendTextMessage ( Illuminate\Http\Request $request ) : Illuminate\Http\RedirectResponse
$request Illuminate\Http\Request
return Illuminate\Http\RedirectResponse

Property Details

$apiKey protected property

protected mixed $apiKey
return mixed

$client protected property

protected ClockworkClient,MJErwin\Clockwork $client
return MJErwin\Clockwork\ClockworkClient