mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-28 10:40:17 +02:00
25 lines
401 B
PHP
25 lines
401 B
PHP
<?php
|
|
|
|
namespace DesignPatterns\More\EAV;
|
|
|
|
/**
|
|
* Interface ValueInterface.
|
|
*/
|
|
interface ValueInterface
|
|
{
|
|
/**
|
|
* @param Attribute $attribute
|
|
*/
|
|
public function __construct(Attribute $attribute);
|
|
|
|
/**
|
|
* @param Attribute $attribute
|
|
*/
|
|
public function setAttribute(Attribute $attribute);
|
|
|
|
/**
|
|
* @return Attribute
|
|
*/
|
|
public function getAttribute();
|
|
}
|