PHP Class GrumPHP\Console\Helper\ComposerHelper

Class ComposerHelper
Inheritance: extends Symfony\Component\Console\Helper\Helper
Show file Open project: phpro/grumphp

Public Methods

Method Description
__construct ( Composer\Config $configuration = null, Composer\Package\RootPackageInterface $rootPackage = null ) ComposerHelper constructor.
getConfiguration ( ) : Composer\Config | null
getName ( )
getRootPackage ( ) : Composer\Package\RootPackageInterface | null
hasConfiguration ( ) : boolean
hasRootPackage ( ) : boolean

Method Details

__construct() public method

ComposerHelper constructor.
public __construct ( Composer\Config $configuration = null, Composer\Package\RootPackageInterface $rootPackage = null )
$configuration Composer\Config
$rootPackage Composer\Package\RootPackageInterface

getConfiguration() public method

public getConfiguration ( ) : Composer\Config | null
return Composer\Config | null

getName() public method

public getName ( )

getRootPackage() public method

public getRootPackage ( ) : Composer\Package\RootPackageInterface | null
return Composer\Package\RootPackageInterface | null

hasConfiguration() public method

public hasConfiguration ( ) : boolean
return boolean

hasRootPackage() public method

public hasRootPackage ( ) : boolean
return boolean