/**
* @inheritdoc
*/
public function prepare($buildDir, $appRoot, $projectRoot, array $settings)
{
$this->appRoot = $appRoot;
$this->projectRoot = $projectRoot;
$this->settings = $settings;
$this->buildDir = $buildDir;
$this->absoluteLinks = !empty($settings['absoluteLinks']);
$this->fsHelper->setRelativeLinks(!$this->absoluteLinks);
}