mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-04 14:07:25 +02:00
add pattern Interpreter
This commit is contained in:
8
Behavioral/Interpreter/AbstractExp.php
Normal file
8
Behavioral/Interpreter/AbstractExp.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace DesignPatterns\Behavioral\Interpreter;
|
||||
|
||||
abstract class AbstractExp
|
||||
{
|
||||
abstract public function interpret(Context $context): bool;
|
||||
}
|
Reference in New Issue
Block a user