PHP Класс Clockwork\DataSource\DataSource

Наследование: implements Clockwork\DataSource\DataSourceInterface
Показать файл Открыть проект

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

Метод Описание
removePasswords ( array $data ) Censors passwords in an array, identified by key containing "pass" substring
replaceUnserializable ( array $data ) Replaces unserializable items such as closures, resources and objects in an array with textual representation
resolve ( Request $request ) Adds data to the request and returns it, custom implementation should be provided in child classes

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

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

Censors passwords in an array, identified by key containing "pass" substring
public removePasswords ( array $data )
$data array

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

Replaces unserializable items such as closures, resources and objects in an array with textual representation
public replaceUnserializable ( array $data )
$data array

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

Adds data to the request and returns it, custom implementation should be provided in child classes
public resolve ( Request $request )
$request Clockwork\Request\Request