Exemplo n.º 1
0
 protected static function createTool($name)
 {
     $tool = new Tool();
     $tool->setName($name);
     $tool->setDisplayName($name);
     $tool->setClass($name . 'Class');
     self::create($name, $tool);
 }