You are here

class GetConstructorDummy 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\GetConstructorDummy

Hierarchy

Expanded class hierarchy of GetConstructorDummy

File

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

Namespace

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

}

Members