Skip to content

ExposeInterface

  • Full name: \Zemit\Mvc\Controller\Traits\Interfaces\ExposeInterface

Methods

expose

public expose(mixed $item, ?array $expose = null): array

Parameters:

Parameter Type Description
$item mixed
$expose ?array

listExpose

public listExpose(iterable $items, ?array $listExpose = null): array

Parameters:

Parameter Type Description
$items iterable
$listExpose ?array

exportExpose

public exportExpose(iterable $items, ?array $exportExpose = null): array

Parameters:

Parameter Type Description
$items iterable
$exportExpose ?array