You are here

class ObjectDummy in Zircon Profile 8

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

Hierarchy

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

Expanded class hierarchy of ObjectDummy

File

vendor/symfony/serializer/Tests/Normalizer/ObjectNormalizerTest.php, line 459

Namespace

Symfony\Component\Serializer\Tests\Normalizer
View source
class ObjectDummy {
  protected $foo;
  public $bar;
  private $baz;
  protected $camelCase;
  protected $object;
  public function getFoo() {
    return $this->foo;
  }
  public function setFoo($foo) {
    $this->foo = $foo;
  }
  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
ObjectDummy::$bar public property
ObjectDummy::$baz private property
ObjectDummy::$camelCase protected property
ObjectDummy::$foo protected property
ObjectDummy::$object protected property
ObjectDummy::getCamelCase public function
ObjectDummy::getFoo public function
ObjectDummy::getFooBar public function
ObjectDummy::getObject public function
ObjectDummy::isBaz public function
ObjectDummy::otherMethod public function
ObjectDummy::setBaz public function
ObjectDummy::setCamelCase public function
ObjectDummy::setFoo public function
ObjectDummy::setObject public function