You are here

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

Hierarchy

Expanded class hierarchy of ObjectConstructorArgsWithPrivateMutatorDummy

File

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

Namespace

Symfony\Component\Serializer\Tests\Normalizer
View source
class ObjectConstructorArgsWithPrivateMutatorDummy {
  private $foo;
  public function __construct($foo) {
    $this
      ->setFoo($foo);
  }
  public function getFoo() {
    return $this->foo;
  }
  private function setFoo($foo) {
    $this->foo = $foo;
  }

}

Members