Example #1
0
 public function __construct(MacroRegistry $macroRegistry, array $config = [], $name = null)
 {
     list($plugin, $tableName) = pluginSplit($config['table'], true);
     $this->plugin = substr($plugin, 0, -1);
     parent::__construct($macroRegistry, $config, $tableName);
 }
 /**
  * @param null $context
  * @return Entity
  */
 public function context($context = null)
 {
     return parent::context($context);
 }