Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/cartforge.co/vendor/magento/module-page-builder/Api/Data/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/cartforge.co/vendor/magento/module-page-builder/Api/Data/TemplateInterface.php
<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

namespace Magento\PageBuilder\Api\Data;

use Magento\Framework\Api\ExtensibleDataInterface;

/**
 * Template Manager template interface
 *
 * @api
 */
interface TemplateInterface extends ExtensibleDataInterface
{
    const KEY_ID = 'template_id';

    const KEY_NAME = 'name';

    const KEY_PREVIEW_IMAGE = 'preview_image';

    const KEY_TEMPLATE = 'template';

    const KEY_CREATED_FOR = 'created_for';

    const KEY_CREATED_AT = 'created_at';

    const KEY_UPDATED_AT = 'updated_at';

    /**
     * Get Template ID
     *
     * @return int|null
     */
    public function getId();

    /**
     * Set the templates ID
     *
     * @param int $templateId
     * @return TemplateInterface
     */
    public function setId($templateId);

    /**
     * Retrieve name of template
     *
     * @return string|null
     */
    public function getName() : string;

    /**
     * Set the name of the template
     *
     * @param string $name
     * @return TemplateInterface
     */
    public function setName(string $name) : TemplateInterface;

    /**
     * Retrieve the preview image
     *
     * @return string
     */
    public function getPreviewImage() : string;

    /**
     * Set the preview image
     *
     * @param string $path
     * @return TemplateInterface
     */
    public function setPreviewImage(string $path) : TemplateInterface;

    /**
     * Get the thumbnail image for the preview
     *
     * @return string
     */
    public function getPreviewThumbnailImage() : string;

    /**
     * Retrieve template value
     *
     * @return string
     */
    public function getTemplate() : string;

    /**
     * Set template value
     *
     * @param string $template
     * @return TemplateInterface
     */
    public function setTemplate(string $template) : TemplateInterface;

    /**
     * Retrieve created for value, created for is a user provided field with entity names as values such as Page
     *
     * @return string
     */
    public function getCreatedFor() : string;

    /**
     * Set the created for value
     *
     * @param string $createdFor
     * @return TemplateInterface
     */
    public function setCreatedFor(string $createdFor) : TemplateInterface;

    /**
     * Retrieve the updated at date
     *
     * @return mixed
     */
    public function getUpdatedAt() : string;

    /**
     * Set updated at date
     *
     * @param string $updatedAt
     * @return TemplateInterface
     */
    public function setUpdatedAt(string $updatedAt) : TemplateInterface;

    /**
     * Get the created at date
     *
     * @return string
     */
    public function getCreatedAt() : string;

    /**
     * Set the created at date
     *
     * @param string $createdAt
     * @return TemplateInterface
     */
    public function setCreatedAt(string $createdAt) : TemplateInterface;

    /**
     * Retrieve existing extension attributes object or create a new one
     *
     * @return \Magento\PageBuilder\Api\Data\TemplateExtensionInterface|null
     */
    public function getExtensionAttributes();

    /**
     * Set an extension attributes object
     *
     * @param \Magento\PageBuilder\Api\Data\TemplateExtensionInterface $extensionAttributes
     * @return $this
     */
    public function setExtensionAttributes(
        \Magento\PageBuilder\Api\Data\TemplateExtensionInterface $extensionAttributes
    );
}

Spamworldpro Mini