mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-06-03 20:45:31 +02:00
15 lines
273 B
PHP
15 lines
273 B
PHP
<?php
|
|
|
|
namespace DesignPatterns\Structural\Flyweight;
|
|
|
|
/**
|
|
* An interface through which flyweights can receive and act on extrinsic state.
|
|
*/
|
|
interface FlyweightInterface
|
|
{
|
|
/**
|
|
* @param string $extrinsicState
|
|
*/
|
|
public function draw($extrinsicState);
|
|
}
|