PHP Class app\controllers\NotesController

Inheritance: extends yii\web\Controller
Exibir arquivo Open project: vesparny/silex-simple-rest

Protected Properties

Property Type Description
$notesService

Public Methods

Method Description
__construct ( $service )
delete ( $id )
getAll ( )
getDataFromRequest ( Request $request )
getOne ( $id )
save ( Request $request )
update ( $id, Request $request )

Method Details

__construct() public method

public __construct ( $service )

delete() public method

public delete ( $id )

getAll() public method

public getAll ( )

getDataFromRequest() public method

public getDataFromRequest ( Request $request )
$request Symfony\Component\HttpFoundation\Request

getOne() public method

public getOne ( $id )

save() public method

public save ( Request $request )
$request Symfony\Component\HttpFoundation\Request

update() public method

public update ( $id, Request $request )
$request Symfony\Component\HttpFoundation\Request

Property Details

$notesService protected_oe property

protected $notesService