You are here

class TestObject in Plug 7

Same name in this branch
  1. 7 lib/doctrine/collections/tests/Doctrine/Tests/Common/Collections/ClosureExpressionVisitorTest.php \Doctrine\Tests\Common\Collections\TestObject
  2. 7 lib/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php \Doctrine\Tests\Common\Persistence\TestObject

Hierarchy

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

Expanded class hierarchy of TestObject

File

lib/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