public function __construct($namespace, $name, callable $function = null) { parent::__construct($namespace, $name, $function ?: $name); }