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