PHP Класс App\Http\Controllers\InvoicesController

Наследование: extends Controller
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$clients
$invoices

Открытые методы

Метод Описание
__construct ( App\Repositories\Invoice\InvoiceRepositoryContract $invoices, App\Repositories\Client\ClientRepositoryContract $clients )
create ( ) : Illuminate\Http\Response Show the form for creating a new resource.
destroy ( integer $id ) : Illuminate\Http\Response Remove the specified resource from storage.
edit ( integer $id ) : Illuminate\Http\Response Show the form for editing the specified resource.
index ( ) : Illuminate\Http\Response Display a listing of the resource.
newItem ( $id, Illuminate\Http\Request $request )
reopenPayment ( Illuminate\Http\Request $request, $id )
show ( integer $id ) : Illuminate\Http\Response Display the specified resource.
store ( Illuminate\Http\Request $request ) : Illuminate\Http\Response Store a newly created resource in storage.
update ( Illuminate\Http\Request $request, integer $id ) : Illuminate\Http\Response Update the specified resource in storage.
updatePayment ( Illuminate\Http\Request $request, $id )
updateSentReopen ( Illuminate\Http\Request $request, $id )
updateSentStatus ( Illuminate\Http\Request $request, $id )

Описание методов

__construct() публичный Метод

public __construct ( App\Repositories\Invoice\InvoiceRepositoryContract $invoices, App\Repositories\Client\ClientRepositoryContract $clients )
$invoices App\Repositories\Invoice\InvoiceRepositoryContract
$clients App\Repositories\Client\ClientRepositoryContract

create() публичный Метод

Show the form for creating a new resource.
public create ( ) : Illuminate\Http\Response
Результат Illuminate\Http\Response

destroy() публичный Метод

Remove the specified resource from storage.
public destroy ( integer $id ) : Illuminate\Http\Response
$id integer
Результат Illuminate\Http\Response

edit() публичный Метод

Show the form for editing the specified resource.
public edit ( integer $id ) : Illuminate\Http\Response
$id integer
Результат Illuminate\Http\Response

index() публичный Метод

Display a listing of the resource.
public index ( ) : Illuminate\Http\Response
Результат Illuminate\Http\Response

newItem() публичный Метод

public newItem ( $id, Illuminate\Http\Request $request )
$request Illuminate\Http\Request

reopenPayment() публичный Метод

public reopenPayment ( Illuminate\Http\Request $request, $id )
$request Illuminate\Http\Request

show() публичный Метод

Display the specified resource.
public show ( integer $id ) : Illuminate\Http\Response
$id integer
Результат Illuminate\Http\Response

store() публичный Метод

Store a newly created resource in storage.
public store ( Illuminate\Http\Request $request ) : Illuminate\Http\Response
$request Illuminate\Http\Request
Результат Illuminate\Http\Response

update() публичный Метод

Update the specified resource in storage.
public update ( Illuminate\Http\Request $request, integer $id ) : Illuminate\Http\Response
$request Illuminate\Http\Request
$id integer
Результат Illuminate\Http\Response

updatePayment() публичный Метод

public updatePayment ( Illuminate\Http\Request $request, $id )
$request Illuminate\Http\Request

updateSentReopen() публичный Метод

public updateSentReopen ( Illuminate\Http\Request $request, $id )
$request Illuminate\Http\Request

updateSentStatus() публичный Метод

public updateSentStatus ( Illuminate\Http\Request $request, $id )
$request Illuminate\Http\Request

Описание свойств

$clients защищенное свойство

protected $clients

$invoices защищенное свойство

protected $invoices