public __construct ( null $name = null, null $version = null ) | ||
$name | null | |
$version | null |
public function __construct($name = null, $version = null)
{
if (null !== $name) {
$this->name = $name;
}
if (null !== $version) {
$this->version = $version;
}
$this->router = new Routing\Router();
$this->initEvents();
}