public function __construct($name) { $this->name = $name; $this->extensionName = strtolower($name); }