create($name); } else { throw new InternalServerErrorException('Class \'' . $name . '\' isn\'t valid.'); } } }