class VariadicTypeHintClass in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/VariadicTypeHintClass.php \Doctrine\Tests\Common\Proxy\VariadicTypeHintClass
Test asset class
Hierarchy
- class \Doctrine\Tests\Common\Proxy\VariadicTypeHintClass
Expanded class hierarchy of VariadicTypeHintClass
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ VariadicTypeHintClass.php, line 8
Namespace
Doctrine\Tests\Common\ProxyView source
class VariadicTypeHintClass {
public $types;
public $foo;
public $bar;
public $baz;
/**
* @param ...$types
*/
public function addType(...$types) {
$this->types = $types;
}
public function addTypeWithMultipleParameters($foo, $bar, ...$baz) {
$this->foo = $foo;
$this->bar = $bar;
$this->baz = $baz;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
VariadicTypeHintClass:: |
public | property | ||
VariadicTypeHintClass:: |
public | property | ||
VariadicTypeHintClass:: |
public | property | ||
VariadicTypeHintClass:: |
public | property | ||
VariadicTypeHintClass:: |
public | function | ||
VariadicTypeHintClass:: |
public | function |