TaskAccessor
trait TaskAccessor (View source)
Traits
Properties
protected CollectionBuilder | $builder | from BuilderAwareTrait |
Methods
null|CollectionBuilder
getBuiltTask(string $fn, array $args)
Provides the collection builder with access to all of the protected 'task' methods available on this object.
task()
Alternative access to instantiate. Use:
Details
$this
setBuilder(CollectionBuilder $builder)
No description
CollectionBuilder
getBuilder()
No description
protected CollectionBuilder
collectionBuilder(ConsoleIO $io = null)
No description
null|CollectionBuilder
getBuiltTask(string $fn, array $args)
Provides the collection builder with access to all of the protected 'task' methods available on this object.
protected CollectionBuilder
task()
Alternative access to instantiate. Use:
$this->task(Foo::class, $a, $b);
instead of:
$this->taskFoo($a, $b);
The later form is preferred.