Ticket #1376: sfComponent.class.php.patch
| File sfComponent.class.php.patch, 0.8 kB (added by spascoe, 5 years ago) |
|---|
-
.
old new 3 3 /* 4 4 * This file is part of the symfony package. 5 5 * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 6 * 7 7 * For the full copyright and license information, please view the LICENSE 8 8 * file that was distributed with this source code. 9 9 */ … … 281 281 * 282 282 * @see getVar() 283 283 */ 284 public function __get($key)284 public function &__get($key) 285 285 { 286 286 return $this->varHolder->get($key); 287 287 } … … 352 352 353 353 /** 354 354 * Returns true if a flash variable of the specified name exists. 355 * 355 * 356 356 * @param string The name of the flash variable 357 357 * 358 358 * @return boolean true if the variable exists, false otherwise