mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-23 17:22:41 +01: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();
|
|
}
|