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