You are here

class TestObject in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/ClosureExpressionVisitorTest.php \Doctrine\Tests\Common\Collections\TestObject
  2. 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php \Doctrine\Tests\Common\Persistence\TestObject
Same name and namespace in other branches
  1. 8 vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/ClosureExpressionVisitorTest.php \Doctrine\Tests\Common\Collections\TestObject

Hierarchy

  • class \Doctrine\Tests\Common\Collections\TestObject

Expanded class hierarchy of TestObject

File

vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/ClosureExpressionVisitorTest.php, line 213

Namespace

Doctrine\Tests\Common\Collections
View source
class TestObject {
  private $foo;
  private $bar;
  private $baz;
  private $qux;
  public function __construct($foo = null, $bar = null, $baz = null, $qux = null) {
    $this->foo = $foo;
    $this->bar = $bar;
    $this->baz = $baz;
    $this->qux = $qux;
  }
  public function __call($name, $arguments) {
    if ('getqux' === $name) {
      return $this->qux;
    }
  }
  public function getFoo() {
    return $this->foo;
  }
  public function getBar() {
    return $this->bar;
  }
  public function isBaz() {
    return $this->baz;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
TestObject::$bar private property
TestObject::$baz private property
TestObject::$foo private property
TestObject::$qux private property
TestObject::getBar public function
TestObject::getFoo public function
TestObject::isBaz public function
TestObject::__call public function
TestObject::__construct public function