PHP Class PhpGitHooks\Module\Files\Tests\Stub\ComposerFilesResponseStub

Mostra file Open project: bruli/php-git-hooks Class Usage Examples

Public Methods

Method Description
create ( boolean $exist, boolean $jsonFile, boolean $lockFile ) : ComposerFilesResponse
createInvalidData ( ) : ComposerFilesResponse
createNoData ( ) : ComposerFilesResponse
createValidData ( ) : ComposerFilesResponse

Method Details

create() public static method

public static create ( boolean $exist, boolean $jsonFile, boolean $lockFile ) : ComposerFilesResponse
$exist boolean
$jsonFile boolean
$lockFile boolean
return PhpGitHooks\Module\Files\Contract\Response\ComposerFilesResponse

createInvalidData() public static method

public static createInvalidData ( ) : ComposerFilesResponse
return PhpGitHooks\Module\Files\Contract\Response\ComposerFilesResponse

createNoData() public static method

public static createNoData ( ) : ComposerFilesResponse
return PhpGitHooks\Module\Files\Contract\Response\ComposerFilesResponse

createValidData() public static method

public static createValidData ( ) : ComposerFilesResponse
return PhpGitHooks\Module\Files\Contract\Response\ComposerFilesResponse