Back to AfterLoadEvent class

Method setResult

protected bool
setResult
(mixed $value)
Setter for the result argument
Parameters
  • bool $value The value to set
Returns
  • bool
-
  • \BadMethodCallException if the argument is not of the expected type

Method setResult - Source code

/**
 * Setter for the result argument
 *
 * @param   boolean  $value  The value to set
 *
 * @return  boolean
 *
 * @throws  BadMethodCallException  if the argument is not of the expected type
 */
protected function setResult($value)
{
    return $value ? true : false;
}
OSZAR »