class ObjectConstructorOptionalArgsDummy in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/serializer/Tests/Normalizer/ObjectNormalizerTest.php \Symfony\Component\Serializer\Tests\Normalizer\ObjectConstructorOptionalArgsDummy
Hierarchy
- class \Symfony\Component\Serializer\Tests\Normalizer\ObjectConstructorOptionalArgsDummy
Expanded class hierarchy of ObjectConstructorOptionalArgsDummy
File
- vendor/
symfony/ serializer/ Tests/ Normalizer/ ObjectNormalizerTest.php, line 551
Namespace
Symfony\Component\Serializer\Tests\NormalizerView source
class ObjectConstructorOptionalArgsDummy {
protected $foo;
public $bar;
private $baz;
public function __construct($foo, $bar = array(), $baz = array()) {
$this->foo = $foo;
$this->bar = $bar;
$this->baz = $baz;
}
public function getFoo() {
return $this->foo;
}
public function getBaz() {
return $this->baz;
}
public function otherMethod() {
throw new \RuntimeException('Dummy::otherMethod() should not be called');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ObjectConstructorOptionalArgsDummy:: |
public | property | ||
ObjectConstructorOptionalArgsDummy:: |
private | property | ||
ObjectConstructorOptionalArgsDummy:: |
protected | property | ||
ObjectConstructorOptionalArgsDummy:: |
public | function | ||
ObjectConstructorOptionalArgsDummy:: |
public | function | ||
ObjectConstructorOptionalArgsDummy:: |
public | function | ||
ObjectConstructorOptionalArgsDummy:: |
public | function |