コード例 #1
0
ファイル: ModelMacro.php プロジェクト: cvo-technologies/macro
 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);
 }
コード例 #2
0
 /**
  * @param null $context
  * @return Entity
  */
 public function context($context = null)
 {
     return parent::context($context);
 }