Skip to content

Commit

Permalink
removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuno committed Nov 17, 2016
1 parent 4de7ddc commit ec0e2ef
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/Table/Table.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit ec0e2ef

Please sign in to comment.