PHP Class PhpGitHooks\Module\Git\Contract\QueryHandler\GitIgnoreExtractorQueryHandler

Inheritance: implements PhpGitHooks\Infrastructure\CommandBus\QueryBus\QueryHandlerInterface
Datei anzeigen Open project: bruli/php-git-hooks Class Usage Examples

Public Methods

Method Description
__construct ( GitIgnoreExtractor $gitIgnoreExtractor ) GitIgnoreExtractorQueryHandler constructor.
handle ( Bruli\EventBusBundle\QueryBus\QueryInterface $query ) : GitIgnoreDataResponse | PhpGitHooks\Module\Git\Contract\Query\GitIgnoreExtractorQuery

Method Details

__construct() public method

GitIgnoreExtractorQueryHandler constructor.
public __construct ( GitIgnoreExtractor $gitIgnoreExtractor )
$gitIgnoreExtractor PhpGitHooks\Module\Git\Service\GitIgnoreExtractor

handle() public method

public handle ( Bruli\EventBusBundle\QueryBus\QueryInterface $query ) : GitIgnoreDataResponse | PhpGitHooks\Module\Git\Contract\Query\GitIgnoreExtractorQuery
$query Bruli\EventBusBundle\QueryBus\QueryInterface
return PhpGitHooks\Module\Git\Contract\Response\GitIgnoreDataResponse | PhpGitHooks\Module\Git\Contract\Query\GitIgnoreExtractorQuery