PHP 클래스 Clockwork\DataSource\DataSource

상속: implements Clockwork\DataSource\DataSourceInterface
파일 보기 프로젝트 열기: itsgoingd/clockwork

공개 메소드들

메소드 설명
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