PHP Class Backend\Modules\ContentBlocks\Command\DeleteContentBlockHandler

Datei anzeigen Open project: forkcms/forkcms

Public Methods

Method Description
__construct ( ContentBlockRepository $contentBlockRepository )
handle ( DeleteContentBlock $deleteContentBlock ) : ContentBlock

Method Details

__construct() public method

public __construct ( ContentBlockRepository $contentBlockRepository )
$contentBlockRepository Backend\Modules\ContentBlocks\Repository\ContentBlockRepository

handle() public method

public handle ( DeleteContentBlock $deleteContentBlock ) : ContentBlock
$deleteContentBlock DeleteContentBlock
return Backend\Modules\ContentBlocks\Entity\ContentBlock