You are here

public function VariadicTypeHintClass::addTypeWithMultipleParameters in Plug 7

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Proxy/VariadicTypeHintClass.php, line 23

Class

VariadicTypeHintClass
Test asset class

Namespace

Doctrine\Tests\Common\Proxy

Code

public function addTypeWithMultipleParameters($foo, $bar, ...$baz) {
  $this->foo = $foo;
  $this->bar = $bar;
  $this->baz = $baz;
}