public function __construct($name, $ns = null, $config = null) { $this->name = (string) $name; $this->ns = $ns; $this->config = $config; }