Skip to content

Commit

Permalink
#272 - Documenting variadic arguments support
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Jan 28, 2016
1 parent 7a9ab64 commit 3b1294b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,17 @@ class SayHello

Every factory in the `ProxyManager\Factory` namespace is now capable of dealing with
this type of API.

### PHP 5.6 Variadics support

ProxyManager will now correctly mimic behavior of methods with variadic parameters:

```php
class SayHello
{
public function hello(string ...$names) : string
{
return 'hello, ' . implode(', ', $names);
}
}
```

0 comments on commit 3b1294b

Please sign in to comment.