Fuente: https://github.com/chamilo/chamilo-lms/releases/download/v1.11.40/chamilo-1.11.40.zip sha256: 1cf4bf2cc7bae1ef1a1eff643235db1d552f78ddf4b6dd1e2d2dac9868679439 Snapshot independiente (rama huerfana); diffable vs 1.11.38. vendor incluido.
93 lines
1.7 KiB
PHP
93 lines
1.7 KiB
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();
|
|
}
|