Set the composer of this mp3 (id3v2 only).

@param composer the composer of this mp3
770605
public void setComposer(String composer)
	{
		if (allow(ID3V2))
		{
			id3v2.setTextFrame(ID3v2Frames.COMPOSER, composer);
		}
	}
1144187
protected function initConfig(Composer $composer)
    {
        $repositories = $composer->getConfig()->getRepositories();
        $updated      = false;
        foreach ($repositories as $name => $repo) {
            if (empty($repo['multi-repo-type'])) {
                continue;
            }
            $repo['type']                      = $repo['multi-repo-type'];
            $repositories[$name.'-multi-repo'] = $repo;

            $repositories[$name] = false; // remove old node on merge
            $updated             = true;
        }

        if ($updated) {
            $composer->getConfig()->merge(['repositories' => $repositories]);
        }

        return $this;
    }
270139
public function activate(Composer $composer, IOInterface $ioc)
    {
        $installer = new Installer($ioc, $composer);
        /** @type InstallationManager $manager */
        $manager = $composer->getInstallationManager();
        $manager->addInstaller($installer);
    }
1103716
private function setComposerVersion($semver)
    {
        $this->composerJson['version'] = $semver->getVersion();
        file_put_contents(
            'composer.json',
            json_encode($this->composerJson, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)
        );
    }
871729
public function activate(Composer $composer, IOInterface $ioInterface)
    {
        $builtInCommands = [
            new CommandsCommand(),
        ];

        // Due to https://github.com/composer/composer/issues/6315 we cannot load
        // application at this stage.
        //
        // So we create command proxies and when one one of them is called we actually
        // create application and execute the command.
        $commands          = [];
        $commandsCacheFile = $this->getCommandsCacheFilePath($composer);
        if ($commandsCacheFile !== null && file_exists($commandsCacheFile) === true) {
            /** @noinspection PhpIncludeInspection */
            $cacheData = require $commandsCacheFile;
            assert(is_array($cacheData));
            foreach ($cacheData as $commandData) {
                list($name, $description, $help, $arguments, $options, $callable) = $commandData;
                $commands[] = new LimoncelloCommand($name, $description, $help, $arguments, $options, $callable);
            }
        }

        ComposerCommandProvider::setCommands(array_merge($builtInCommands, $commands));
    }
38448
public function setOptionComposerName($optionComposerName)
    {
        if (!empty($optionComposerName)) {
            $this->options->setComposerName($optionComposerName);
        } else {
            throw new \InvalidArgumentException('Package\'s composer name can\'t be empty', __LINE__);
        }
        return $this;
    }
744774
public void setOriginalArtist(String artist)
	{
		if (allow(ID3V2))
		{
			id3v2.setTextFrame(ID3v2Frames.ORIGINAL_ARTIST, artist);
		}
	}
466445
public function activate(Composer $composer, IOInterface $io) {
    $this->io = $io;
    $vendor = $composer->getConfig()->get('vendor-dir');

    $this->vendor = $vendor;
    $this->root = dirname($vendor);
  }
678755
protected function modifyComposer($callable)
    {
        // Begin modification of composer.json
        $composerFile = new JsonFile(Factory::getComposerFile(), null, $this->getIO());
        $composerData = $composerFile->read();

        // Note: Respect call by ref $composerData
        $result = $callable($composerData);
        if ($result === false) {
            return;
        }
        if ($result) {
            $composerData = $result;
        }

        // Update composer.json and refresh local composer instance
        $composerFile->write($composerData);
        $this->resetComposer();
    }
838813
public function activate(Composer $composer, IOInterface $io)
    {
        // preload classes to prevent errors when removing the plugin
        class_exists(NpmBridge::class);
        class_exists(NpmBridgeFactory::class);
        class_exists(NpmClient::class);
        class_exists(NpmBridge::class);
        class_exists(NpmVendorFinder::class);
    }
1228991
public function activate(Composer $composer, IOInterface $io) {
		$vendorDir = rtrim($composer->getConfig()->get('vendor-dir'), '/');

		$overwriteFiles = ['.gitignore','.travis.yml','.scrutinizer.yml','CONTRIBUTING.md','phpunit.xml','phpmd.xml','build.xml'];
		$copyFiles = ['LICENCE.md'];

		foreach ($overwriteFiles as $file) {
			$contents = file_get_contents($vendorDir . DIRECTORY_SEPARATOR . 'opsbears' . DIRECTORY_SEPARATOR .
				'piccolo-dev-tools' . DIRECTORY_SEPARATOR . $file);
			$contents = str_replace('opsbears/piccolo-dev-tools', $composer->getPackage()->getName(), $contents);
			file_put_contents($file, $contents);
		}
		foreach ($copyFiles as $file) {
			if (!file_exists($file)) {
				$contents = file_get_contents($vendorDir . DIRECTORY_SEPARATOR . 'opsbears' . DIRECTORY_SEPARATOR .
					'piccolo-dev-tools' . DIRECTORY_SEPARATOR . $file);
				$contents = str_replace('opsbears/piccolo-dev-tools', $composer->getPackage()->getName(), $contents);
				file_put_contents($file, $contents);
			}
		}
	}
568179
public void setCreativeFormat(com.google.api.ads.admanager.axis.v201902.RichMediaStudioCreativeFormat creativeFormat) {
        this.creativeFormat = creativeFormat;
    }
875692
public void setTuneAndTemplate(Tune tune, ScoreTemplate template) {
		//from setTemplate(template)
		if (m_template != null)
			m_template.removeListener(this);
		m_template = template;
		m_template.setGraphics(getGraphics2D());
		m_template.addListener(this);
		//from refresh()
		initGfx();
		setTune(tune);
	}
965295
public function addComposer( $views, $composer ) {
		$views = array_map( function ( $view ) {
			return ViewEngine::canonical( $view );
		}, MixedType::toArray( $views ) );

		$handler = new Handler( $composer, 'compose', '\\App\\ViewComposers\\' );

		$this->composers[] = [
			'views' => $views,
			'composer' => $handler,
		];
	}
433296
public function activate(Composer $composer, IOInterface $io)
    {
        /** composer and io properties are assgned for convenience */
        $this->composer = $composer;
        $this->io = $io;
    }
348832
public function configure(Composer $composer, IOInterface $io)
    {
        $this->composer = $composer;
        $this->jsonFile = null;
        $this->io = $io;
        
        $publicDirectorySet = $this->isPublicDirectorySet();
        $wordPressInstallDirectorySet = $this->isWordPressInstallDirectorySet();
        $reposConfigured = $this->areReposConfigured();
        $sortingConfigured = $this->isSortingConfigured();
        
        if ($publicDirectorySet && $wordPressInstallDirectorySet && $reposConfigured && $sortingConfigured) {
            return;
        }
        
        if (! $publicDirectorySet) {
            $this->setPublicDirectory();
        }
        
        if (! $wordPressInstallDirectorySet) {
            $this->setWordPressInstallDirectory();
        }
        
        if (! $reposConfigured) {
            $this->configureRepos();
        }
        
        if (! $sortingConfigured) {
            $this->configureSorting();
        }
        
        $this->sortProperties();
        $this->saveJson();
    }
341234
void setStream(OpenALStreamPlayer stream) {
		if (!soundWorks) {
			return;
		}

		currentMusic = sources.get(0);
		this.stream = stream;
		if (stream != null) {
			this.mod = null;
		}
		paused = false;
	}