You are here

class GetConstructorArgsWithDefaultValueDummy in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php \Symfony\Component\Serializer\Tests\Normalizer\GetConstructorArgsWithDefaultValueDummy

Hierarchy

Expanded class hierarchy of GetConstructorArgsWithDefaultValueDummy

File

vendor/symfony/serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php, line 703

Namespace

Symfony\Component\Serializer\Tests\Normalizer
View source
class GetConstructorArgsWithDefaultValueDummy {
  protected $foo;
  protected $bar;
  public function __construct($foo = array(), $bar) {
    $this->foo = $foo;
    $this->bar = $bar;
  }
  public function getFoo() {
    return $this->foo;
  }
  public function getBar() {
    return $this->bar;
  }
  public function otherMethod() {
    throw new \RuntimeException('Dummy::otherMethod() should not be called');
  }

}

Members