/** * Publish file * * @param WriteInterface $rootDir * @param WriteInterface $targetDir * @param string $sourcePath * @param string $destinationPath * @return bool */ public function publishFile(WriteInterface $rootDir, WriteInterface $targetDir, $sourcePath, $destinationPath) { return $rootDir->createSymlink($sourcePath, $destinationPath, $targetDir); }