CommonGateway\CoreBundle\Service\ComposerService

Methods

Name Description
audit Search for a given term.
getAll Show al packages installed trough composer.
getLockFile Gets all installed plugins from the lock file.
getSingle Show a single package installed trough composer.
remove Show a single package installed trough composer.
require Show a single package installed trough composer.
search Search for a given term.
upgrade Show a single package installed trough composer.

ComposerService::audit

Description

public audit (array $options)

Search for a given term.

See https://getcomposer.org/doc/03-cli.md#show-info for a full list of al options and there function

Parameters

  • (array) $options

Return Values

array


ComposerService::getAll

Description

public getAll (array $options)

Show al packages installed trough composer.

See https://getcomposer.org/doc/03-cli.md#show-info for a full list of al options and there function

Parameters

  • (array) $options

Return Values

array


ComposerService::getLockFile

Description

public getLockFile (void)

Gets all installed plugins from the lock file.

Parameters

This function has no parameters.

Return Values

array


ComposerService::getSingle

Description

public getSingle (string $package, array $options)

Show a single package installed trough composer.

See https://getcomposer.org/doc/03-cli.md#show-info for a full list of al options and there function

Parameters

  • (string) $package
  • (array) $options

Return Values

array


ComposerService::remove

Description

public remove (string $package, array $options)

Show a single package installed trough composer.

See https://getcomposer.org/doc/03-cli.md#show-info for a full list of al options and there function

Parameters

  • (string) $package
  • (array) $options

Return Values

array


ComposerService::require

Description

public require (string $package, array $options)

Show a single package installed trough composer.

See https://getcomposer.org/doc/03-cli.md#show-info for a full list of al options and there function

Parameters

  • (string) $package
  • (array) $options

Return Values

array


ComposerService::search

Description

public search (string|null $search, array $options)

Search for a given term.

See https://getcomposer.org/doc/03-cli.md#show-info for a full list of al options and there function

Parameters

  • (string|null) $search
  • (array) $options

Return Values

array


ComposerService::upgrade

Description

public upgrade (string $package, array $options)

Show a single package installed trough composer.

See https://getcomposer.org/doc/03-cli.md#show-info for a full list of al options and there function

Parameters

  • (string) $package
  • (array) $options

Return Values

array