/** * Set an object property. * * @param string $property The property name. * @param mixed $value The property value. * * @return mixed The property value. * * @since 1.0 */ protected function setProperty($property, $value) { switch ($property) { case 'successful': $value = strtoupper($value); break; } return parent::setProperty($property, $value); }
/** * Set an object property. * * @param string $property The property name. * @param mixed $value The property value. * * @return mixed The property value. * * @since 1.0 */ protected function setProperty($property, $value) { return parent::setProperty($property, strtoupper($value)); }