/** * @return MApplicationNamespace */ public function __construct(MString $name) { if (!$name->isEmpty()) { parent::__construct($name); } else { throw new MInvalidOperationException(S("Cannot instantiate a namespace with an empty name")); } }