task(Foo::class, $a, $b); * * instead of: * * $this->taskFoo($a, $b); * * The later form is preferred. * * @return \Robo\Collection\CollectionBuilder */ protected function task() { $args = func_get_args(); $name = array_shift($args); $collectionBuilder = $this->collectionBuilder(); return $collectionBuilder->build($name, $args); } }