ILIAS  Release_4_1_x_branch Revision 61804
 All Data Structures Namespaces Files Functions Variables Groups Pages
Composite.php
Go to the documentation of this file.
1 <?php
2 
7 {
8 
12  protected $strategies = array();
13 
14  abstract public function __construct();
15 
16  public function execute($tokens, $config, $context) {
17  foreach ($this->strategies as $strategy) {
18  $tokens = $strategy->execute($tokens, $config, $context);
19  }
20  return $tokens;
21  }
22 
23 }
24 
25 // vim: et sw=4 sts=4