eZ\Publish\Core\Persistence\Legacy\Content\Type\MemoryCachingHandler::createDraft PHP Method

createDraft() public method

Updates modified date, sets $modifierId and status to Type::STATUS_DRAFT on the new returned draft.
public createDraft ( mixed $modifierId, mixed $contentTypeId ) : eZ\Publish\SPI\Persistence\Content\Type
$modifierId mixed
$contentTypeId mixed
return eZ\Publish\SPI\Persistence\Content\Type
    public function createDraft($modifierId, $contentTypeId)
    {
        $this->clearCache();
        return $this->innerHandler->createDraft($modifierId, $contentTypeId);
    }