PHP Class Backend\Modules\ContentBlocks\Command\CopyContentBlocksToOtherLocaleHandler

Exibir arquivo Open project: forkcms/forkcms

Public Methods

Method Description
__construct ( ContentBlockRepository $contentBlockRepository )
handle ( CopyContentBlocksToOtherLocale $copyContentBlocksToOtherLocale ) : ContentBlock

Private Methods

Method Description
getNewExtraId ( ) : integer

Method Details

__construct() public method

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

handle() public method

public handle ( CopyContentBlocksToOtherLocale $copyContentBlocksToOtherLocale ) : ContentBlock
$copyContentBlocksToOtherLocale CopyContentBlocksToOtherLocale
return Backend\Modules\ContentBlocks\Entity\ContentBlock