PHP Class Pyrech\ComposerChangelogs\Outputter

ファイルを表示 Open project: pyrech/composer-changelogs Class Usage Examples

Public Methods

Method Description
__construct ( array $operationHandlers, array $urlGenerators )
addOperation ( Composer\DependencyResolver\Operation\OperationInterface $operation )
getOutput ( ) : string
isEmpty ( ) : boolean

Private Methods

Method Description
createOperationOutput ( array &$output, Composer\DependencyResolver\Operation\OperationInterface $operation ) : array | void
getOperationHandler ( Composer\DependencyResolver\Operation\OperationInterface $operation ) : Pyrech\ComposerChangelogs\OperationHandler\OperationHandler | null
getUrlGenerator ( string $sourceUrl ) : Pyrech\ComposerChangelogs\UrlGenerator\UrlGenerator | null

Method Details

__construct() public method

public __construct ( array $operationHandlers, array $urlGenerators )
$operationHandlers array
$urlGenerators array

addOperation() public method

public addOperation ( Composer\DependencyResolver\Operation\OperationInterface $operation )
$operation Composer\DependencyResolver\Operation\OperationInterface

getOutput() public method

public getOutput ( ) : string
return string

isEmpty() public method

public isEmpty ( ) : boolean
return boolean