MIDDAG for Moodle

item_service extends facade

Facade for local_middag\framework\application\service\item\item_service.

Tags
see
item_service
mixin

Table of Contents

Methods

create()  : item_interface
delete()  : void
find()  : item_interface|null
find_by_type()  : array<string|int, mixed>
get_facade_accessor()  : string
Return the service accessor key for this facade.
get_metadata()  : array<string|int, mixed>
get_repository()  : item_repository_interface
update()  : item_interface

Methods

delete()

public static delete(int $id) : void
Parameters
$id : int

find_by_type()

public static find_by_type(string $type) : array<string|int, mixed>
Parameters
$type : string
Return values
array<string|int, mixed>

get_facade_accessor()

Return the service accessor key for this facade.

public static get_facade_accessor() : string
Return values
string

get_metadata()

public static get_metadata(int $id) : array<string|int, mixed>
Parameters
$id : int
Return values
array<string|int, mixed>

        
On this page

Search results