mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-30 03:30:14 +02:00
25 lines
442 B
PHP
25 lines
442 B
PHP
<?php
|
|
|
|
namespace DesignPatterns\More\EAV;
|
|
|
|
/**
|
|
* Interface ValueAccessInterface
|
|
*/
|
|
interface ValueAccessInterface
|
|
{
|
|
/**
|
|
* @return Value[]|ValueInterface[]|array
|
|
*/
|
|
public function getValues();
|
|
|
|
/**
|
|
* @param Value|ValueInterface $value
|
|
*/
|
|
public function addValue(ValueInterface $value);
|
|
|
|
/**
|
|
* @param Value|ValueInterface $value
|
|
*/
|
|
public function removeValue(ValueInterface $value);
|
|
}
|