From ec0e2efd352ea4e247fe47b294f8a66f6cea0c84 Mon Sep 17 00:00:00 2001 From: Nuno Date: Thu, 17 Nov 2016 15:54:32 +0000 Subject: [PATCH] removed unused code --- src/Table/Table.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/Table/Table.php b/src/Table/Table.php index 7c9d174..6b6095a 100644 --- a/src/Table/Table.php +++ b/src/Table/Table.php @@ -92,23 +92,6 @@ public function column() return $column; } - /** - * start a new plugin - * - * @param $pluginClassName - * @return TablePlugin - * @throws \Exception - */ - public function plugin($pluginClassName) - { - $pluginClassName = "\Jupitern\Table\\$pluginClassName"; - $this->tablePlugin = new $pluginClassName($this); - if (!$this->tablePlugin instanceof TablePlugin) { - throw new \Exception("{$pluginClassName} does not implement TablePlugin."); - } - return $this->tablePlugin; - } - /** * generate table html *