- var_dump: documentation ( source)
<?php
interface Pager
{
public function fetch($page = 0, ...$categories);
}
class DbPager implements Pager
{
public function fetch($seite = 0, ...$kategorien)
{
var_dump($kategorien);
}
}
$dbPager = new DbPager();
$dbPager->fetch(page: 1, categories: 2);