PHP Класс Vimeo\ABLincoln\Experiments\DefaultExperiment

Наследование: extends AbstractExperiment
Показать файл Открыть проект

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

Метод Описание
assign ( Assignment $params, array $inputs ) More complex default experiments can override this method
getDefaultParams ( ) : array Default experiments that are just key-value stores should override this method

Защищенные методы

Метод Описание
_configureLogger ( ) We don't need a logger when there's no experiment
_log ( array $data ) Don't log anything when there's no experiment
_previouslyLogged ( ) : boolean Assume all data passed in has already been logged

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

_configureLogger() защищенный Метод

We don't need a logger when there's no experiment
protected _configureLogger ( )

_log() защищенный Метод

Don't log anything when there's no experiment
protected _log ( array $data )
$data array the data which we will not be logging

_previouslyLogged() защищенный Метод

Assume all data passed in has already been logged
protected _previouslyLogged ( ) : boolean
Результат boolean true always since we're assuming data's been logged

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

More complex default experiments can override this method
public assign ( Assignment $params, array $inputs )
$params Assignment assignment in which to place new parameters
$inputs array input data to determine parameter assignments

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

Default experiments that are just key-value stores should override this method
public getDefaultParams ( ) : array
Результат array array of default parameters