function FixturesBase::io
Gets an IO fixture.
Return value
\Composer\IO\IOInterface A Composer IOInterface to write to; output may be retrieved via Fixtures::getOutput().
2 calls to FixturesBase::io()
- Fixtures::runScaffold in core/
tests/ Drupal/ Tests/ Composer/ Plugin/ Scaffold/ Fixtures.php - Runs the scaffold operation.
- FixturesBase::getComposer in core/
tests/ Drupal/ Tests/ Composer/ Plugin/ FixturesBase.php - Gets the Composer object.
File
-
core/
tests/ Drupal/ Tests/ Composer/ Plugin/ FixturesBase.php, line 57
Class
- FixturesBase
- Base class for fixtures to test composer plugins.
Namespace
Drupal\Tests\Composer\PluginCode
public function io() : IOInterface {
if (!isset($this->io)) {
$this->io = new BufferIO();
}
return $this->io;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.