PHP Class App\Http\Controllers\HomeController

Inheritance: extends Controller
Show file Open project: hillelcoren/invoice-ninja Class Usage Examples

Protected Properties

Property Type Description
$mailer App\Ninja\Mailers\Mailer

Public Methods

Method Description
__construct ( App\Ninja\Mailers\Mailer $mailer ) HomeController constructor.
hideMessage ( ) : string
invoiceNow ( ) : Illuminate\Contracts\View\View | Illuminate\Http\RedirectResponse
keepAlive ( ) : mixed
logError ( ) : string
newsFeed ( $userType, $version ) : Illuminate\Http\JsonResponse
showIndex ( ) : Illuminate\Http\RedirectResponse
showTerms ( ) : Illuminate\Contracts\View\View
viewLogo ( ) : Illuminate\Contracts\View\View

Method Details

__construct() public method

HomeController constructor.
public __construct ( App\Ninja\Mailers\Mailer $mailer )
$mailer App\Ninja\Mailers\Mailer

hideMessage() public method

public hideMessage ( ) : string
return string

invoiceNow() public method

public invoiceNow ( ) : Illuminate\Contracts\View\View | Illuminate\Http\RedirectResponse
return Illuminate\Contracts\View\View | Illuminate\Http\RedirectResponse

keepAlive() public method

public keepAlive ( ) : mixed
return mixed

logError() public method

public logError ( ) : string
return string

newsFeed() public method

public newsFeed ( $userType, $version ) : Illuminate\Http\JsonResponse
$userType
$version
return Illuminate\Http\JsonResponse

showIndex() public method

public showIndex ( ) : Illuminate\Http\RedirectResponse
return Illuminate\Http\RedirectResponse

showTerms() public method

public showTerms ( ) : Illuminate\Contracts\View\View
return Illuminate\Contracts\View\View

Property Details

$mailer protected property

protected Mailer,App\Ninja\Mailers $mailer
return App\Ninja\Mailers\Mailer