19 lines
306 B
PHP
19 lines
306 B
PHP
<?php
|
|
|
|
namespace Symfony\Tests\Component\Form\Fixtures;
|
|
|
|
class Magician
|
|
{
|
|
private $foobar;
|
|
|
|
public function __set($property, $value)
|
|
{
|
|
$this->$property = $value;
|
|
}
|
|
|
|
public function __get($property)
|
|
{
|
|
return isset($this->$property) ? $this->$property : null;
|
|
}
|
|
}
|