class GetSetDummy

Hierarchy

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

Expanded class hierarchy of GetSetDummy

File

drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php, line 193

Namespace

Symfony\Component\Serializer\Tests\Normalizer
View source
class GetSetDummy {
  protected $foo;
  private $bar;
  protected $camelCase;
  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 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");
  }

}

Members

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