%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tjamichg/cursos.tjamich.gob.mx/vendor/sylius/attribute/Model/
Upload File :
Create Path :
Current File : /home/tjamichg/cursos.tjamich.gob.mx/vendor/sylius/attribute/Model/AttributeValueInterface.php

<?php

/*
 * This file is part of the Sylius package.
 *
 * (c); Paweł Jędrzejewski
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Sylius\Component\Attribute\Model;

/**
 * Attribute value model.
 *
 * This model associates the attribute with its value on the object.
 *
 * @author Paweł Jędrzejewski <pawel@sylius.org>
 */
interface AttributeValueInterface
{
    /**
     * Get subject.
     *
     * @return AttributeSubjectInterface
     */
    public function getSubject();

    /**
     * Set subject.
     *
     * @param AttributeSubjectInterface|null $subject
     */
    public function setSubject(AttributeSubjectInterface $subject = null);

    /**
     * Get attribute.
     *
     * @return AttributeInterface
     */
    public function getAttribute();

    /**
     * Set attribute.
     *
     * @param AttributeInterface $attribute
     */
    public function setAttribute(AttributeInterface $attribute);

    /**
     * Get attribute value.
     *
     * @return mixed
     */
    public function getValue();

    /**
     * Set attribute value.
     *
     * @param mixed $value
     */
    public function setValue($value);

    /**
     * Proxy method to access the name from real attribute.
     *
     * @return string
     */
    public function getName();

    /**
     * Proxy method to access the presentation from real attribute.
     *
     * @return string
     */
    public function getPresentation();

    /**
     * The type of the attribute.
     *
     * @return string
     */
    public function getType();

    /**
     * Get attribute configuration.
     *
     * @return array
     */
    public function getConfiguration();
}

Zerion Mini Shell 1.0