<?php
class PluginManager{
private $plugins=[];
public function register($name,$version){
$this->plugins[$name]=['version'=>$version,'enabled'=>true];
}
public function all(){return $this->plugins;}
}
