You are here

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

Hierarchy

  • class \Symfony\Component\Serializer\Tests\Normalizer\GetSetDummy

Expanded class hierarchy of GetSetDummy

File

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

Namespace

Symfony\Component\Serializer\Tests\Normalizer
View source
class GetSetDummy {
  protected $foo;
  private $bar;
  private $baz;
  protected $camelCase;
  protected $object;
  public function getFoo() {
    return $this->foo;
  }
  public function setFoo($foo) {
    $this->foo = $foo;
  }
  public function getBar() {
    return $this->bar;
  }
  public function setBar($bar) {
    $this->bar = $bar;
  }
  public function isBaz() {
    return $this->baz;
  }
  public function setBaz($baz) {
    $this->baz = $baz;
  }
  public function getFooBar() {
    return $this->foo . $this->bar;
  }
  public function getCamelCase() {
    return $this->camelCase;
  }
  public function setCamelCase($camelCase) {
    $this->camelCase = $camelCase;
  }
  public function otherMethod() {
    throw new \RuntimeException('Dummy::otherMethod() should not be called');
  }
  public function setObject($object) {
    $this->object = $object;
  }
  public function getObject() {
    return $this->object;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
GetSetDummy::$bar private property
GetSetDummy::$baz private property
GetSetDummy::$camelCase protected property
GetSetDummy::$foo protected property
GetSetDummy::$object protected property
GetSetDummy::getBar public function
GetSetDummy::getCamelCase public function
GetSetDummy::getFoo public function
GetSetDummy::getFooBar public function
GetSetDummy::getObject public function
GetSetDummy::isBaz public function
GetSetDummy::otherMethod public function
GetSetDummy::setBar public function
GetSetDummy::setBaz public function
GetSetDummy::setCamelCase public function
GetSetDummy::setFoo public function
GetSetDummy::setObject public function